From: Luke S. <lsc...@us...> - 2004-04-02 07:07:24
|
Update of /cvsroot/gaim/gaim/src/protocols/irc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14869/src/protocols/irc Modified Files: irc.c Log Message: " This patch adds a call-back slot to the GaimPluginProtocolInfo structure which allows a prpl to receive notification when a chat invitation has been rejected by the local user. The patch modifies server.c to trigger the call-back, and adds NULL entries into the existing protocols to make them match the updated ABI. This is necessary for a protocol plugin which I have written, as the protocol needs to take action in the event of a conference rejection. It is my understanding that the Yahoo prpl may also benefit from this patch (it's supposed to be sending the rejection upstream to the server too, as I understand it)" --Christopher (siege) O'Brien Index: irc.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/irc/irc.c,v retrieving revision 1.205 retrieving revision 1.206 diff -u -d -p -r1.205 -r1.206 --- irc.c 27 Feb 2004 01:48:11 -0000 1.205 +++ irc.c 2 Apr 2004 06:54:47 -0000 1.206 @@ -571,6 +571,7 @@ static GaimPluginProtocolInfo prpl_info NULL, NULL, irc_chat_join, + NULL, /* reject chat invite */ irc_chat_invite, irc_chat_leave, NULL, |