diff options
author | Marius Halden <marius.h@lden.org> | 2015-11-08 16:46:16 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2016-05-07 14:26:16 +0200 |
commit | f0ff36f558329d096526004d4d912973bafd3904 (patch) | |
tree | 688a2b634a688c2b698774e72868b58882d724c1 /protocols/twitter/twitter.h | |
parent | e5f97d0aa477be05c2d9b1a6514d51e52ac394dc (diff) |
Add support for long tweet ids
Diffstat (limited to 'protocols/twitter/twitter.h')
-rw-r--r-- | protocols/twitter/twitter.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/twitter/twitter.h b/protocols/twitter/twitter.h index 86c88262..070dba40 100644 --- a/protocols/twitter/twitter.h +++ b/protocols/twitter/twitter.h @@ -84,6 +84,9 @@ struct twitter_data { /* set show_ids */ struct twitter_log_data *log; int log_id; + + gboolean long_ids; + int log_length; }; #define TWITTER_FILTER_UPDATE_WAIT 3000 @@ -99,7 +102,8 @@ struct twitter_user_data { time_t last_time; }; -#define TWITTER_LOG_LENGTH 256 +#define TWITTER_SHORT_LOG_LENGTH 256 +#define TWITTER_LONG_LOG_LENGTH (256 * 256) struct twitter_log_data { guint64 id; /* DANGER: bu can be a dead pointer. Check it first. |