Opened 6 years ago

#15532 new patch

Enable Spontaneous Listing in pidgin

Reported by: cyisfor Owned by: elb
Milestone: 3.0.0 Component: IRC
Version: Keywords: list automation
Cc:

Description

Some IRC networks sometimes send lists (321, 322, 323) that were not explicitly and only requested by the LIST command. For instance in darkmyst, when you send a search query to a specialized bot, it responds with notices, and the server responds with a list. I noticed this list was being silently discarded (if (!irc->account) return) and thought that it'd be better if the channel list dialog popped up to show whatever channel list the server was sending.

Technically darkmyst should set it so you send "LIST searchquery" instead of "PRIVMSG RPGServ :searchquery" but I think pidgin can play nice with this odd behavior. I've attached the patch I made, which Works For Me. Changes the semantics of the /list command, of the IRC plugin's list preparer protocol function, and of the responses to messages 321, 322 and 323. Nothing outside the irc plugin, thankfully.

Attachments (1)

spontaneousList.diff (7.6 KB) - added by cyisfor 6 years ago.

Download all attachments as: .zip

Change History (1)

Changed 6 years ago by cyisfor

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!