diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-05 19:26:17 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-05 19:26:17 +0100 |
commit | f5d87ea5e4db1864cc9dd95c295f166af9944014 (patch) | |
tree | d08db5189ae87177eabb0b026bf0bde70336151f | |
parent | cf1a9790b4b933f7727c1362285f529f45a755c0 (diff) |
Pick up group changes in the middle of a Jabber session, now that we care
about that info.
-rw-r--r-- | protocols/jabber/iq.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/jabber/iq.c b/protocols/jabber/iq.c index 55c678aa..5166e322 100644 --- a/protocols/jabber/iq.c +++ b/protocols/jabber/iq.c @@ -390,9 +390,8 @@ static xt_status jabber_parse_roster( struct im_connection *ic, struct xt_node * { if( ( strcmp( sub, "both" ) == 0 || strcmp( sub, "to" ) == 0 ) ) { - if( initial || bee_user_by_handle( ic->bee, ic, jid ) == NULL ) - imcb_add_buddy( ic, jid, ( group && group->text_len ) ? - group->text : NULL ); + imcb_add_buddy( ic, jid, ( group && group->text_len ) ? + group->text : NULL ); if( name ) imcb_rename_buddy( ic, jid, name ); |