aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--protocols/jabber/conference.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/jabber/conference.c b/protocols/jabber/conference.c
index b3d3f95e..6af7688d 100644
--- a/protocols/jabber/conference.c
+++ b/protocols/jabber/conference.c
@@ -328,6 +328,9 @@ void jabber_chat_pkt_presence(struct im_connection *ic, struct jabber_buddy *bud
}
}
bud->flags |= JBFLAG_IS_ANONYMOUS;
+ } else if (bud == jc->me) {
+ g_free(bud->ext_jid);
+ bud->ext_jid = g_strdup(jd->me);
}
if (bud != jc->me && bud->flags & JBFLAG_IS_ANONYMOUS) {