diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/jabber/conference.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/jabber/conference.c b/protocols/jabber/conference.c index 3de205c8..db117faf 100644 --- a/protocols/jabber/conference.c +++ b/protocols/jabber/conference.c @@ -478,7 +478,9 @@ void jabber_chat_pkt_message(struct im_connection *ic, struct jabber_buddy *bud, if (bud) { bare_jid = jabber_get_bare_jid(bud->ext_jid ? bud->ext_jid : bud->full_jid); final_from = bare_jid; - flags = (bud == jc->me) ? OPT_SELFMESSAGE : 0; + if (bud == jc->me || (g_strcasecmp(final_from, ic->acc->user) == 0)) { + flags = OPT_SELFMESSAGE; + } } else { final_from = nick; } |