aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/conference.c
diff options
context:
space:
mode:
authorSven Moritz Hallberg <pesco@khjk.org>2010-06-03 23:13:57 +0200
committerSven Moritz Hallberg <pesco@khjk.org>2010-06-03 23:13:57 +0200
commitbb09b3c6b8190be09e0b7c7ef2f4b1b5a69b504f (patch)
treede453c5fc945d9cafc8ffb5705ab4fe7834bcd32 /protocols/jabber/conference.c
parenta6b2f13e38e75e7bca00a1e6c1963783f244c0b2 (diff)
parentdf1ae6223a5fdb3c18d5438670834285101c6213 (diff)
merge in bitlbee 1.2.7
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 f434c58a..affe8aef 100644
--- a/protocols/jabber/conference.c
+++ b/protocols/jabber/conference.c
@@ -271,8 +271,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 );
}