Mercurial > pidgin
annotate doc/dbus-server-signals.dox @ 31263:8fc25b77295a
Hopefully fixes #13298, the bug about not being able to add MSN buddies.
Here's what I think is happening:
1. Before we add the buddy we issue an FQY request to ask the server what
network the username is for (either normal MSN or Yahoo)
2. When we get the response we add the buddy to our buddy list with the
network ID given to us by the server
3. For some reason the server is now returning a network ID of 0 ("unknown")
instead of 1 ("normal MSN") for normal passport buddies, and we bail out
when we encounter this. QuLogic thinks the server used to return 1 in
this case.
My change is to just not bail out if the FQY response has network ID 0.
Instead of treat 0 as 1 and continue with the add. It looks like our
SOAP request to add the buddy to our address book will fail a big further
down the road if the buddy doesn't exist--so we're still protecting
against that.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 28 Feb 2011 08:26:40 +0000 |
parents | e0613cf8c493 |
children |
rev | line source |
---|---|
12053 | 1 /** @page dbus-server-signals DBus Server Signals |
2 | |
3 @signals | |
4 @signal dbus-method-called | |
5 @signal dbus-introspect | |
6 @endsignals | |
7 | |
20807
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
12053
diff
changeset
|
8 @see dbus-server.h |
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
12053
diff
changeset
|
9 |
12053 | 10 <hr> |
11 | |
12 @signaldef dbus-method-called | |
13 @signalproto | |
14 gboolean (*dbus_method_called)(DBusConnection *connection, | |
15 DBusMessage *message); | |
16 @endsignalproto | |
17 @signaldesc | |
18 Emitted when a dbus method is going to be called. | |
19 @param connection The DBus connection. | |
20 @param message The DBus message. | |
21 @return TRUE if signal handler handled the method. ??? | |
22 @endsignaldef | |
23 | |
24 @signaldef dbus-introspect | |
25 @signalproto | |
26 void (*dbus_introspect)(GList **bidings_list); | |
27 @endsignalproto | |
28 @signaldesc | |
29 ??? | |
30 @param bindings_list ??? | |
31 @endsignaldef | |
32 | |
33 */ | |
20807
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
12053
diff
changeset
|
34 // vim: syntax=c.doxygen tw=75 et |