diff options
author | Marius Halden <marius.h@lden.org> | 2016-04-29 18:08:12 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2016-05-07 14:31:03 +0200 |
commit | dd0eee9269a1bb68f4b1979f6185f28401489464 (patch) | |
tree | ce267e858f206eeb16ea995166288db256e38763 /protocols/twitter/twitter.c | |
parent | 2539b8a01a4e63a8ced42fd6d5f97671be39b446 (diff) |
Use separate dedupe-log for filter stream and normal stream
Diffstat (limited to 'protocols/twitter/twitter.c')
-rw-r--r-- | protocols/twitter/twitter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/twitter/twitter.c b/protocols/twitter/twitter.c index 2483cbf7..5694c1b6 100644 --- a/protocols/twitter/twitter.c +++ b/protocols/twitter/twitter.c @@ -683,7 +683,9 @@ static void twitter_login(account_t * acc) td->log_length = (td->long_ids) ? TWITTER_LONG_LOG_LENGTH : TWITTER_SHORT_LOG_LENGTH; td->log = g_new0(struct twitter_log_data, td->log_length); + td->filter_log = g_new0(struct twitter_log_data, td->log_length); td->log_id = -1; + td->filter_log_id = -1; s = set_getstr(&ic->acc->set, "mode"); if (g_strcasecmp(s, "one") == 0) { |