changeset 81:f1163f2e4920

add suppression of annoying completion message for posts to the wasser-channel.
author "mojin <truffechampagne@gmail.com>"
date Sat, 05 Jul 2008 13:47:26 +0900
parents e0bf37c105eb
children c9600d64781a
files pidgin-twitter.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin-twitter.c	Tue Jul 01 18:20:48 2008 +0900
+++ b/pidgin-twitter.c	Sat Jul 05 13:47:26 2008 +0900
@@ -911,7 +911,8 @@
 
     /* quick hack to suppress annoying completion message from wassr */
     if(conv && is_wassr_conv(conv)) {
-        if(strstr(*buffer, "<body>投稿完了:")) {
+        if(strstr(*buffer, "<body>投稿完了:") ||
+	   strstr(*buffer, "<body>チャンネル投稿完了:")) {
             twitter_debug("clearing sender and buffer\n");
             g_free(*sender); *sender = NULL;
             g_free(*buffer); *buffer = NULL;