[Pidgin] #11618: Add DCC CHAT support for IRC connections
Pidgin
trac at pidgin.im
Thu Apr 1 10:15:24 EDT 2010
#11618: Add DCC CHAT support for IRC connections
-----------------------------+----------------------------------------------
Reporter: gboudreau | Owner: elb
Type: enhancement | Status: new
Milestone: Patches welcome | Component: IRC
Version: 2.6.6 | Resolution:
Keywords: dcc |
-----------------------------+----------------------------------------------
Comment(by elb):
Ultimately, a modification to the IRC protocol plugin is the right choice.
You'll want to look in libpurple/protocols/irc. The hook for CTCP
commands is irc_parse_ctcp() in libpurple/protocols/irc/parse.c.
There is a DCC SEND implementation in there, but it has some problems.
Feel free to use anything good out of it w.r.t. connection setup, etc.,
but tread carefully.
The IRC prpl is pretty straightforward in most respects. You might want
to look at msgs.c:irc_msg_privmsg() for reference on how to handle
incoming messages.
If you have specific questions, please feel free to ask here or in #pidgin
on irc.freenode.net. DCC CHAT is a request we do hear from time to time,
and it would be great to receive a good patch to implement it.
--
Ticket URL: <http://developer.pidgin.im/ticket/11618#comment:3>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list