Mercurial > pidgin.yaz
annotate libpurple/protocols/yahoo/yahoo_aliases.h @ 27211:a167106a439a
New versions of the official Yahoo Messenger client for Windows XP (tested
with version 9.0.0.2162) seem to require us to acknowledge when we receive
an IM. If we don't send an ack then they send us the same message 7 seconds
later.
Checking this in because it at least seems to fix the problem for me.
Fixes http://trac.adium.im/ticket/12311
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 19 Jun 2009 18:46:49 +0000 |
parents | 510f07e1f5c1 |
children | ef5f0cde8d74 |
rev | line source |
---|---|
27193
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
1 /* |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
2 * purple |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
3 * |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
4 * Purple is the legal property of its developers, whose names are too numerous |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
5 * to list here. Please refer to the COPYRIGHT file distributed with this |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
6 * source distribution. |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
7 * |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
8 * This program is free software; you can redistribute it and/or modify |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
9 * it under the terms of the GNU General Public License as published by |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
10 * the Free Software Foundation; either version 2 of the License, or |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
11 * (at your option) any later version. |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
12 * |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
13 * This program is distributed in the hope that it will be useful, |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
16 * GNU General Public License for more details. |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
17 * |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
18 * You should have received a copy of the GNU General Public License |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
19 * along with this program; if not, write to the Free Software |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
21 * |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
22 */ |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
23 |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
24 |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
25 #include "internal.h" |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
26 |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
27 #include "account.h" |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
28 #include "accountopt.h" |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
29 #include "blist.h" |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
30 #include "debug.h" |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
31 #include "util.h" |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
32 #include "version.h" |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
33 #include "yahoo.h" |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
34 #include "yahoo_packet.h" |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
35 |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
36 void yahoo_update_alias(PurpleConnection *gc, const char *who, const char *alias); |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
37 void yahoo_fetch_aliases(PurpleConnection *gc); |
510f07e1f5c1
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <mark@kingant.net>
parents:
22807
diff
changeset
|
38 |