# HG changeset patch # User mikanbako # Date 1215771955 -32400 # Node ID ceabb8099bf34a09734f34e0978f4a61b1ec1357 # Parent 86772af940ce81e0ff389ab03165d0049d8b58b9# Parent f207cc8da6cdd43f112962dfdec113a5e06f2b23 merged diff -r f207cc8da6cd -r ceabb8099bf3 pidgin-twitter.c --- a/pidgin-twitter.c Fri Jul 11 15:51:27 2008 +0900 +++ b/pidgin-twitter.c Fri Jul 11 19:25:55 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;