changeset 221:b5fa0c295ff5

pushed message must be matched with received message, otherwise it leaks.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 02 Sep 2008 13:19:25 +0900
parents 1ebef23bbccb
children b168502b73c3
files pidgin-twitter.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin-twitter.c	Sun Aug 31 15:01:02 2008 +0900
+++ b/pidgin-twitter.c	Tue Sep 02 13:19:25 2008 +0900
@@ -1672,9 +1672,8 @@
     if(service == wassr_service) {
         gchar *stripped = strip_html_markup(*buffer);
         /* suppress annoying completion message from wassr */
-        if(strstr(*buffer, "<body>投稿完了:") ||
-           strstr(*buffer, "<body>チャンネル投稿完了:")) {
-            twitter_debug("clearing sender and buffer\n");
+        if(strstr(*buffer, "<body>チャンネル投稿完了:")) {
+            twitter_debug("clearing channel parrot message\n");
             g_free(*sender); *sender = NULL;
             g_free(*buffer); *buffer = NULL;
         }