summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@pidgin.im>2008-05-23 02:23:07 +0000
committerSadrul Habib Chowdhury <sadrul@pidgin.im>2008-05-23 02:23:07 +0000
commit7c2b0be8c6cbe081662a367373887b6b8530b702 (patch)
tree4a8bd6675a0684d5b0e535c1e149428ec2da9165 /doc
parent9f68c27a4f3c08c564875b0d703a38fbcb1e8827 (diff)
downloadpidgin-7c2b0be8c6cbe081662a367373887b6b8530b702.tar.gz
Modified patch from Stefan 'cockroach' Ott to add blocked-im-msg and
chat-invite-blocked signals for blocked im messages and blocked chat invites. Closes #1062.
Diffstat (limited to 'doc')
-rw-r--r--doc/conversation-signals.dox32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/conversation-signals.dox b/doc/conversation-signals.dox
index 5028ba9b31..4e1ca8569a 100644
--- a/doc/conversation-signals.dox
+++ b/doc/conversation-signals.dox
@@ -7,6 +7,7 @@
@signal sent-im-msg
@signal receiving-im-msg
@signal received-im-msg
+ @signal blocked-im-msg
@signal writing-chat-msg
@signal wrote-chat-msg
@signal sending-chat-msg
@@ -26,6 +27,7 @@
@signal chat-inviting-user
@signal chat-invited-user
@signal chat-invited
+ @signal chat-invite-blocked
@signal chat-joined
@signal chat-join-failed
@signal chat-left
@@ -132,6 +134,21 @@ void (*received_im_msg)(PurpleAccount *account, char *sender, char *message,
@param flags The IM message flags.
@endsignaldef
+ @signaldef blocked-im-msg
+ @signalproto
+void (*blocked_im_msg)(PurpleAccount *account, const char *sender,
+ const char *message, PurpleMessageFlags flags, time_t when);
+ @endsignalproto
+ @signaldesc
+ Emitted after an IM is blocked due to privacy settings.
+ @param account The account the message was received on.
+ @param sender The username of the sender.
+ @param message The message that was blocked.
+ @param flags The IM message flags.
+ @param when The time the message was sent.
+ @since 2.5.0
+ @endsignaldef
+
@signaldef writing-chat-msg
@signalproto
gboolean (*writing_chat_msg)(PurpleAccount *account, const char *who,
@@ -404,6 +421,21 @@ gint (*chat_invited)(PurpleAccount *account, const char *inviter,
default behavior will be maintained: the user will be prompted.
@endsignaldef
+ @signaldef chat-invite-blocked
+ @signalproto
+void (*chat_invite_blocked)(PurpleAccount *account, const char *inviter,
+ const char *name, const char *message, GHashTable *data);
+ @endsignalproto
+ @signaldesc
+ Emitted when an invitation to join a chat is blocked.
+ @param account The account the invitation was sent to.
+ @param inviter The name of the person sending the invitation.
+ @param name The name of the chat invited to.
+ @param message The invitation message sent.
+ @param data Hashtable containing data about the invited chat.
+ @since 2.5.0
+ @endsignaldef
+
@signaldef chat-joined
@signalproto
void (*chat_joined)(PurpleConversation *conv);