aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/conference.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-05-13 23:05:13 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-05-13 23:05:13 +0100
commit3429b589177f286384dab151c167e16071f8a828 (patch)
tree756963dee5779aa0e54109701669bd69b97d0bb8 /protocols/jabber/conference.c
parent58f5ef70c3824b881ad6b35f854a8c8ac59a5d32 (diff)
parent3742fb6ae99c2e5e25cff272a154b9834866e8f9 (diff)
Mainline merge.
Diffstat (limited to 'protocols/jabber/conference.c')
-rw-r--r--protocols/jabber/conference.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/jabber/conference.c b/protocols/jabber/conference.c
index bb3fbcf3..e04b9792 100644
--- a/protocols/jabber/conference.c
+++ b/protocols/jabber/conference.c
@@ -273,8 +273,10 @@ void jabber_chat_pkt_presence( struct im_connection *ic, struct jabber_buddy *bu
bud->flags |= JBFLAG_IS_ANONYMOUS;
}
- if( bud != jc->me )
+ if( bud != jc->me && bud->flags & JBFLAG_IS_ANONYMOUS )
{
+ /* If JIDs are anonymized, add them to the local
+ list for the duration of this chat. */
imcb_add_buddy( ic, bud->ext_jid, NULL );
imcb_buddy_nick_hint( ic, bud->ext_jid, bud->resource );
}