Mercurial > pidgin.yaz
diff src/protocols/gg/gg.c @ 4775:92ae181271e9
[gaim-migrate @ 5095]
This fixes a bug when adding a jabber dude to a new group, I think. I
dunno, it might fix some other stuff.
If Gaim were any less inanimate I would try to sleep with it so bad
it's not even funny.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 14 Mar 2003 17:06:00 +0000 |
parents | c4c28874ecd3 |
children | 1e28e7d802a1 |
line wrap: on
line diff
--- a/src/protocols/gg/gg.c Fri Mar 14 16:18:51 2003 +0000 +++ b/src/protocols/gg/gg.c Fri Mar 14 17:06:00 2003 +0000 @@ -1,6 +1,6 @@ /* * gaim - Gadu-Gadu Protocol Plugin - * $Id: gg.c 5088 2003-03-14 11:38:21Z seanegan $ + * $Id: gg.c 5095 2003-03-14 17:06:00Z thekingant $ * * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> * @@ -806,8 +806,10 @@ g_strfreev(group_tbl); } /* Add Buddy to our userlist */ - if (!(g = gaim_find_group(group))) + if (!(g = gaim_find_group(group))) { g = gaim_group_new(group); + gaim_blist_add_group(g, NULL); + } b = gaim_buddy_new(gc->account, name, strlen(show) ? show : NULL); gaim_blist_add_buddy(b,g,NULL); gaim_blist_save();