changeset 25716:1dda1c292c50

Removed a few unnessesary lines of code.
author Marcus Lundblad <ml@update.uu.se>
date Tue, 24 Feb 2009 22:19:49 +0000
parents ba0289e94bdf
children 13574de83636
files libpurple/protocols/jabber/message.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/message.c	Tue Feb 24 20:25:33 2009 +0000
+++ b/libpurple/protocols/jabber/message.c	Tue Feb 24 22:19:49 2009 +0000
@@ -289,7 +289,6 @@
 static void handle_buzz(JabberMessage *jm) {
 	PurpleBuddy *buddy;
 	PurpleAccount *account;
-	PurpleConversation *c;
 
 	/* Delayed buzz MUST NOT be accepted */
 	if(jm->delayed)
@@ -304,10 +303,6 @@
 	if ((buddy = purple_find_buddy(account, jm->from)) == NULL)
 		return; /* Do not accept buzzes from unknown people */
 
-	c = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, jm->from, account);
-	if (c == NULL)
-		c = purple_conversation_new(PURPLE_CONV_TYPE_IM, account, jm->from);
-
 	/* xmpp only has 1 attention type, so index is 0 */
 	purple_prpl_got_attention(jm->js->gc, jm->from, 0);
 }