diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2007-06-14 00:31:39 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2007-06-14 00:31:39 +0100 | 
| commit | 998b1035a6c8349b3661861eeb5d9d1f4082ba0a (patch) | |
| tree | 2d7391d972f76b9baf539ceeae872efacecaee7b /protocols/jabber/iq.c | |
| parent | 43d8cc5909aa45aee0b3368e70275469b0f8de22 (diff) | |
Added imcb_remove_buddy() so deletions in Jabber roster pushes actually
work. This also solves the issue of underscores appearing and disappearing
in their nicknames when people leave/join a chat.
Diffstat (limited to 'protocols/jabber/iq.c')
| -rw-r--r-- | protocols/jabber/iq.c | 5 | 
1 files changed, 1 insertions, 4 deletions
| diff --git a/protocols/jabber/iq.c b/protocols/jabber/iq.c index 0050fb5b..e5c5dde2 100644 --- a/protocols/jabber/iq.c +++ b/protocols/jabber/iq.c @@ -377,11 +377,8 @@ static xt_status jabber_parse_roster( struct im_connection *ic, struct xt_node *  			}  			else if( strcmp( sub, "remove" ) == 0 )  			{ -				/* Don't have any API call for this yet! So let's -				   just try to handle this as well as we can. */  				jabber_buddy_remove_bare( ic, jid ); -				imcb_buddy_status( ic, jid, 0, NULL, NULL ); -				/* FIXME! */ +				imcb_remove_buddy( ic, jid, NULL );  			}  		} | 
