Mercurial > pidgin.yaz
comparison plugins/jabber/jabber.c @ 1915:fdb2fe2a043e
[gaim-migrate @ 1925]
i'm a fucking moron.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 29 May 2001 20:17:04 +0000 |
parents | 8b915b0f681b |
children | 5bed3bc833b5 |
comparison
equal
deleted
inserted
replaced
1914:2ac9d0d7d2c4 | 1915:fdb2fe2a043e |
---|---|
748 if ((cnv = find_chat(GJ_GC(j), who->user)) == NULL) { | 748 if ((cnv = find_chat(GJ_GC(j), who->user)) == NULL) { |
749 static int i = 0x70; | 749 static int i = 0x70; |
750 struct jabber_data *jd = GJ_GC(j)->proto_data; | 750 struct jabber_data *jd = GJ_GC(j)->proto_data; |
751 if ((jc = find_pending_chat(GJ_GC(j), who)) != NULL) { | 751 if ((jc = find_pending_chat(GJ_GC(j), who)) != NULL) { |
752 jc->b = cnv = serv_got_joined_chat(GJ_GC(j), i++, who->user); | 752 jc->b = cnv = serv_got_joined_chat(GJ_GC(j), i++, who->user); |
753 jc->id = jc->b->id; | |
753 jd->existing_chats = g_slist_append(jd->existing_chats, jc); | 754 jd->existing_chats = g_slist_append(jd->existing_chats, jc); |
754 jd->pending_chats = g_slist_remove(jd->pending_chats, jc); | 755 jd->pending_chats = g_slist_remove(jd->pending_chats, jc); |
755 } else if (!(b = find_buddy(GJ_GC(j), buddy))) { | 756 } else if (!(b = find_buddy(GJ_GC(j), buddy))) { |
756 b = add_buddy(GJ_GC(j), "Buddies", buddy, buddy); | 757 b = add_buddy(GJ_GC(j), "Buddies", buddy, buddy); |
757 do_export(GJ_GC(j)); | 758 do_export(GJ_GC(j)); |