comparison main.c @ 274:934c4b053247

fixed a breakage which had prevented post to twitter.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 12 Dec 2008 22:43:48 +0900
parents 7aad61f56c48
children 2d559555875f
comparison
equal deleted inserted replaced
273:add1e454b87f 274:934c4b053247
113 g_free(*buffer); 113 g_free(*buffer);
114 *buffer = g_markup_escape_text(plain, -1); 114 *buffer = g_markup_escape_text(plain, -1);
115 g_free(plain); 115 g_free(plain);
116 116
117 /* return here if the message is not to twitter */ 117 /* return here if the message is not to twitter */
118 if(!twitter_service) 118 if(service != twitter_service)
119 return FALSE; 119 return FALSE;
120 120
121 /* escape pseudo command */ 121 /* escape pseudo command */
122 if(twitter_service && 122 if(service == twitter_service &&
123 purple_prefs_get_bool(OPT_ESCAPE_PSEUDO)) { 123 purple_prefs_get_bool(OPT_ESCAPE_PSEUDO)) {
124 escape(buffer); 124 escape(buffer);
125 } 125 }
126 126
127 /* update status with Twitter API instead of IM protocol */ 127 /* update status with Twitter API instead of IM protocol */