From 2322a9f38a2f6c9bf86eb62c2cd68fd3848b694f Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Thu, 25 Aug 2011 20:08:07 +0200 Subject: Merging Twitter-mentions patch from meh. Bug #663. --- protocols/twitter/twitter.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'protocols/twitter/twitter.h') diff --git a/protocols/twitter/twitter.h b/protocols/twitter/twitter.h index c38d9b86..14e43824 100644 --- a/protocols/twitter/twitter.h +++ b/protocols/twitter/twitter.h @@ -35,6 +35,9 @@ typedef enum { TWITTER_HAVE_FRIENDS = 1, + TWITTER_DOING_TIMELINE = 0x10000, + TWITTER_GOT_TIMELINE = 0x20000, + TWITTER_GOT_MENTIONS = 0x40000, } twitter_flags_t; struct twitter_log_data; @@ -43,12 +46,17 @@ struct twitter_data { char* user; struct oauth_info *oauth_info; + + gpointer home_timeline_obj; + gpointer mentions_obj; + + guint64 timeline_id; + GSList *follow_ids; - guint64 home_timeline_id; guint64 last_status_id; /* For undo */ gint main_loop_id; - struct groupchat *home_timeline_gc; + struct groupchat *timeline_gc; gint http_fails; twitter_flags_t flags; -- cgit v1.2.3 From 733f607bfaa34aa949df2602aec3b46aa2c3a46f Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Mon, 17 Oct 2011 23:58:14 -0400 Subject: Stupid work-around for bug #838. The troublesome condition is known, I just don't know exactly how BitlBee gets into it. Any more info from people who see this problem often would be useful. --- protocols/twitter/twitter.h | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/twitter/twitter.h') diff --git a/protocols/twitter/twitter.h b/protocols/twitter/twitter.h index 14e43824..47dbeb29 100644 --- a/protocols/twitter/twitter.h +++ b/protocols/twitter/twitter.h @@ -38,6 +38,7 @@ typedef enum TWITTER_DOING_TIMELINE = 0x10000, TWITTER_GOT_TIMELINE = 0x20000, TWITTER_GOT_MENTIONS = 0x40000, + TWITTER_DOING_TIMELINE_SLOW = 0x80000, } twitter_flags_t; struct twitter_log_data; -- cgit v1.2.3 From 90fc864b79ba673623ce96e3e89866e48bc32d7f Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Thu, 24 Nov 2011 08:18:04 +0000 Subject: Hopefully this fixed #838. Patch from Artem Savkov, thanks! The problem was HTTP failures caused by (most likely) DNS resolution problems. Yes, ignoring return values is still bad, kids! --- protocols/twitter/twitter.h | 1 - 1 file changed, 1 deletion(-) (limited to 'protocols/twitter/twitter.h') diff --git a/protocols/twitter/twitter.h b/protocols/twitter/twitter.h index 47dbeb29..14e43824 100644 --- a/protocols/twitter/twitter.h +++ b/protocols/twitter/twitter.h @@ -38,7 +38,6 @@ typedef enum TWITTER_DOING_TIMELINE = 0x10000, TWITTER_GOT_TIMELINE = 0x20000, TWITTER_GOT_MENTIONS = 0x40000, - TWITTER_DOING_TIMELINE_SLOW = 0x80000, } twitter_flags_t; struct twitter_log_data; -- cgit v1.2.3