pidgin: 1423db68: Prevent users from being added to the co...
sulabh at soc.pidgin.im
sulabh at soc.pidgin.im
Thu Jul 16 11:15:22 EDT 2009
-----------------------------------------------------------------
Revision: 1423db68fabc512bc2005d658eb078fc65bd6fba
Ancestor: d9664c539826147542563d03569001aa35a20e0a
Author: sulabh at soc.pidgin.im
Date: 2009-07-16T15:13:57
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1423db68fabc512bc2005d658eb078fc65bd6fba
Modified files:
libpurple/protocols/yahoo/yahoochat.c
ChangeLog:
Prevent users from being added to the conference before they accept the invitation
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoochat.c ff952214f8abfcd311619ea3b0515365ed72a822
+++ libpurple/protocols/yahoo/yahoochat.c 7944be00c40d8e436445c330efa2fa78d34834ec
@@ -160,8 +160,11 @@ void yahoo_process_conference_invite(Pur
who = pair->value;
g_string_append_printf(members, "%s\n", who);
break;
- case 52: /* invitee (me) */
- case 53: /* members */
+ case 51: /* This user is being invited to the conference. Comes with status = 11, so we wont reach here */
+ break;
+ case 52: /* Invited users. Assuming us invited, since we got this packet */
+ break; /* break needed, or else we add the users to the conference before they accept the invitation */
+ case 53: /* members who have already joined the conference */
g_string_append_printf(members, "%s\n", pair->value);
break;
case 58:
More information about the Commits
mailing list