changeset 23157:e206ff2e5efa

Remove an else block which just calls pidgin_blist_get_emblem on a PurpleChat, but pidgin_blist_get_emblem will always return NULL for a chat at the moment so this is useless.
author Etan Reisner <pidgin@unreliablesource.net>
date Sat, 17 May 2008 19:54:58 +0000
parents da5d1ecc5c20
children 85f567c95af1
files pidgin/gtkconv.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Sat May 17 19:53:28 2008 +0000
+++ b/pidgin/gtkconv.c	Sat May 17 19:54:58 2008 +0000
@@ -2511,10 +2511,6 @@
 		PurpleBuddy *b = purple_find_buddy(conv->account, conv->name);
 		if (b)
 			emblem = pidgin_blist_get_emblem((PurpleBlistNode*)b);
-	} else {
-		PurpleChat *c = purple_blist_find_chat(conv->account, conv->name);
-		if (c)
-			emblem = pidgin_blist_get_emblem((PurpleBlistNode*)c);
 	}
 
 	g_return_if_fail(status != NULL);