Mercurial > pidgin.yaz
diff plugins/signals-test.c @ 11064:e4459e8ccfb5
[gaim-migrate @ 13035]
Patch #1208082 from Levi Bard (tak_tak)
This patch modifies the chat-invited signal so plugins can programmatically accept or reject chat invitations.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 07 Jul 2005 02:47:49 +0000 |
parents | 50224ac8184d |
children | bb0d7b719af2 |
line wrap: on
line diff
--- a/plugins/signals-test.c Thu Jul 07 02:35:23 2005 +0000 +++ b/plugins/signals-test.c Thu Jul 07 02:47:49 2005 +0000 @@ -417,7 +417,7 @@ gaim_conversation_get_name(conv), name, reason); } -static void +static gint chat_invited_cb(GaimAccount *account, const char *inviter, const char *room_name, const char *message, const GHashTable *components, void *data) @@ -425,6 +425,8 @@ gaim_debug_misc("signals test", "chat-invited (%s, %s, %s, %s)\n", gaim_account_get_username(account), inviter, room_name, message); + + return 0; } static void