diff options
author | Marius Halden <marius.h@lden.org> | 2015-11-06 21:32:43 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2015-11-06 21:32:43 +0100 |
commit | 72c1c1a06e41282c42c7aed39cf3f25e158aa8fe (patch) | |
tree | c123f54fa8f63598f5944e1fc8e76d91fb938c6f /protocols/twitter/twitter.h | |
parent | 0b68a404a515b2f992bb44f76062335551671298 (diff) |
Add support for longer ids in the twitter chat
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 5a1a4f63..3978c6fc 100644 --- a/protocols/twitter/twitter.h +++ b/protocols/twitter/twitter.h @@ -82,6 +82,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 @@ -97,7 +100,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. |