pidgin: 63eed833: This allows incoming channel messages wi...
elb at pidgin.im
elb at pidgin.im
Mon May 4 11:50:41 EDT 2009
-----------------------------------------------------------------
Revision: 63eed8332804fcd21df43cd1d222794c6018b79f
Ancestor: 770205b6d0969fd1ee6fd19af0d64dc03f3a21f6
Author: magao at bigfoot.com
Date: 2009-05-04T15:47:54
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/63eed8332804fcd21df43cd1d222794c6018b79f
Modified files:
libpurple/protocols/irc/msgs.c
ChangeLog:
This allows incoming channel messages with op/voice/etc. mode characters.
This seems to be a nonstandard but harmless extension employed by some
servers.
Thanks to Marcos Garc?a Ochoa.
Fixes #7415.
-------------- next part --------------
============================================================
--- libpurple/protocols/irc/msgs.c 1334406db5b3479e9a30315d5846bf20c9a48b02
+++ libpurple/protocols/irc/msgs.c 5a6862bee03caec0af17be15aee9e654eb099d4e
@@ -1193,7 +1193,7 @@ static void irc_msg_handle_privmsg(struc
if (!purple_utf8_strcasecmp(to, purple_connection_get_display_name(gc))) {
serv_got_im(gc, nick, msg, 0, time(NULL));
} else {
- convo = purple_find_conversation_with_account(PURPLE_CONV_TYPE_CHAT, to, irc->account);
+ convo = purple_find_conversation_with_account(PURPLE_CONV_TYPE_CHAT, irc_nick_skip_mode(irc, to), irc->account);
if (convo)
serv_got_chat_in(gc, purple_conv_chat_get_id(PURPLE_CONV_CHAT(convo)), nick, 0, msg, time(NULL));
else
More information about the Commits
mailing list