This allows incoming channel messages with op/voice/etc. mode characters.

Mon, 04 May 2009 15:47:54 +0000

author
Marcos García Ochoa <magao@bigfoot.com>
date
Mon, 04 May 2009 15:47:54 +0000
changeset 27044
bc111170ee11
parent 27043
af71b4309047
child 27045
d4f4e5f754f0

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.


committer: Ethan Blanton <elb@pidgin.im>

libpurple/protocols/irc/msgs.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/irc/msgs.c	Mon May 04 03:14:12 2009 +0000
+++ b/libpurple/protocols/irc/msgs.c	Mon May 04 15:47:54 2009 +0000
@@ -1193,7 +1193,7 @@
 	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

mercurial