# HG changeset patch # User mikanbako # Date 1215752480 -32400 # Node ID 86772af940ce81e0ff389ab03165d0049d8b58b9 # Parent e460e1978ca3929cf8694199219ba7109af3f2b5 fixed the notification of incoming messages for wasser and identica diff -r e460e1978ca3 -r 86772af940ce pidgin-twitter.c --- a/pidgin-twitter.c Thu Jul 10 20:26:22 2008 +0900 +++ b/pidgin-twitter.c Fri Jul 11 14:01:20 2008 +0900 @@ -1113,6 +1113,12 @@ twitter_debug("called\n"); twitter_debug("buffer = %s suppress_oops = %d\n", *buffer, suppress_oops); + if(is_twitter_conv(conv) || is_wassr_conv(conv) || is_identica_conv(conv)) { + /* suppress notification of incoming messages. */ + if(purple_prefs_get_bool(OPT_PREVENT_NOTIFICATION)) + *flags |= PURPLE_MESSAGE_SYSTEM; + } + /* quick hack to suppress annoying completion message from wassr */ if(is_wassr_conv(conv)) { if(strstr(*buffer, "投稿完了:") || @@ -1133,11 +1139,6 @@ return FALSE; } - /* suppress notification of incoming messages. */ - if(purple_prefs_get_bool(OPT_PREVENT_NOTIFICATION)) { - *flags |= PURPLE_MESSAGE_SYSTEM; - } - if(!suppress_oops || !purple_prefs_get_bool(OPT_SUPPRESS_OOPS)) return FALSE;