diff libpurple/protocols/jabber/message.c @ 29704:9198a5d39c5c

Let _got_attention call _conversation_attention, instead of having prpls do it on incoming attentions
author Marcus Lundblad <ml@update.uu.se>
date Mon, 16 Nov 2009 20:45:56 +0000
parents 974748d0e1f2
children
line wrap: on
line diff
--- a/libpurple/protocols/jabber/message.c	Mon Nov 16 19:59:20 2009 +0000
+++ b/libpurple/protocols/jabber/message.c	Mon Nov 16 20:45:56 2009 +0000
@@ -294,7 +294,6 @@
 static void handle_buzz(JabberMessage *jm) {
 	PurpleBuddy *buddy;
 	PurpleAccount *account;
-	PurpleConversation *c;
 
 	/* Delayed buzz MUST NOT be accepted */
 	if(jm->delayed)
@@ -311,9 +310,6 @@
 
 	/* xmpp only has 1 attention type, so index is 0 */
 	purple_prpl_got_attention(jm->js->gc, jm->from, 0);
-	c = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, jm->from, account);
-	if (c)
-		purple_conversation_attention(c, jm->from, 0, PURPLE_MESSAGE_RECV, time(NULL));
 }
 
 /* used internally by the functions below */