changeset 68:41dbb74bf029

quick workaround for the bug that icon had not appeard in the first message.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Mon, 23 Jun 2008 11:49:43 +0900
parents 000575bce35d
children d1f92d980f58
files pidgin-twitter.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin-twitter.c	Mon Jun 23 11:37:44 2008 +0900
+++ b/pidgin-twitter.c	Mon Jun 23 11:49:43 2008 +0900
@@ -661,6 +661,9 @@
     twitter_debug("called\n");
     twitter_debug("buffer = %s suppress_oops = %d\n", *buffer, suppress_oops);
 
+    /* request to attach icon to the buffer */
+    request_icon(*buffer);
+
     /* check if the conv is not NULL and is a twitter conv. */
     if(!(conv && is_twitter_conv(conv))) {
         return FALSE;
@@ -671,9 +674,6 @@
         *flags |= PURPLE_MESSAGE_SYSTEM;
     }
 
-    /* xxx request to attach icon to the buffer */
-    request_icon(*buffer);
-
     if(!suppress_oops || !purple_prefs_get_bool(OPT_SUPPRESS_OOPS))
         return FALSE;