libpurple/prpl.h

changeset 36077
b7328f4317c7
parent 36076
a0e5b68ff4ef
child 36078
ad2b7d9cc0c3
--- a/libpurple/prpl.h	Thu May 22 15:15:16 2014 +0200
+++ b/libpurple/prpl.h	Thu May 22 15:53:54 2014 +0200
@@ -428,14 +428,12 @@
 	 * errno values, or just big something.
 	 *
 	 * @id:      The id of the chat to send the message to.
-	 * @message: The message to send to the chat.
-	 * @flags:   A bitwise OR of #PurpleMessageFlags representing
-	 *           message flags.
+	 * @msg:     The message to send to the chat.
 	 *
 	 * Returns:  A positive number or 0 in case of success,
 	 *           a negative error number in case of failure.
 	 */
-	int  (*chat_send)(PurpleConnection *, int id, const char *message, PurpleMessageFlags flags);
+	int  (*chat_send)(PurpleConnection *, int id, PurpleMessage *msg);
 
 	/* If implemented, this will be called regularly for this prpl's
 	 * active connections.  You'd want to do this if you need to repeatedly

mercurial