Mercurial > pidgin.yaz
changeset 31172:7fa07adbe482
Don't treat messages got from ourself from a switchboard like a new message. This fixes the multiple conversation open with ourself.
author | masca@cpw.pidgin.im |
---|---|
date | Wed, 26 May 2010 03:16:48 +0000 |
parents | 930b267d33c0 |
children | 1ba9f3167de0 |
files | libpurple/protocols/msn/msg.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c Tue May 25 22:06:03 2010 +0000 +++ b/libpurple/protocols/msn/msg.c Wed May 26 03:16:48 2010 +0000 @@ -883,8 +883,9 @@ swboard->flag |= MSN_SB_FLAG_IM; } } - else + else if (!g_str_equal(passport, purple_account_get_username(gc->account))) { + /* Don't im ourselves ... */ serv_got_im(gc, passport, body_final, 0, time(NULL)); if (swboard->conv == NULL) {