changeset 117:423dc1a670c9

try to remove duplication of message which posted by myself.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 16 Jul 2008 20:25:01 +0900
parents dd27aeead474
children 8b097fcb9243
files pidgin-twitter.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin-twitter.c	Wed Jul 16 19:33:45 2008 +0900
+++ b/pidgin-twitter.c	Wed Jul 16 20:25:01 2008 +0900
@@ -193,7 +193,10 @@
 
      for(stp = stlist; stp; stp=stp->next) {
          status_t *st = (status_t *)stp->data;
-         if(st->id > lastid) {
+         if(st->id > lastid &&
+            strcmp(st->screen_name,
+                   purple_prefs_get_string(OPT_SCREEN_NAME_TWITTER))) {
+
              gchar *msg = NULL;
 
              msg = g_strdup_printf("%s: %s\n", st->screen_name, st->text);