diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2015-05-03 18:47:19 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2015-05-03 18:47:19 +0200 |
commit | c43146d9308aea2025c0a0520c9e2d40758d9e8d (patch) | |
tree | 78d6beb3ba68cf62d5cb7ba31d23cefca95dbdbe /protocols/twitter/twitter_lib.c | |
parent | cd607102faf6c6bfd1485a4a08d1ec70f9c22345 (diff) |
Make replies to self work in Twitter.
Difficult because there's no bee_user struct pointing at the user themselves
so instead just fake one for very limited use.
Diffstat (limited to 'protocols/twitter/twitter_lib.c')
-rw-r--r-- | protocols/twitter/twitter_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/twitter/twitter_lib.c b/protocols/twitter/twitter_lib.c index 536d88d8..17bceb9f 100644 --- a/protocols/twitter/twitter_lib.c +++ b/protocols/twitter/twitter_lib.c @@ -700,6 +700,8 @@ static char *twitter_msg_add_id(struct im_connection *ic, original tweet's id should be remembered for deduplicating. */ if (g_strcasecmp(txs->user->screen_name, td->user) == 0) { td->log[td->log_id].id = txs->rt_id; + /* More useful than NULL. */ + td->log[td->log_id].bu = &twitter_log_local_user; } if (set_getbool(&ic->acc->set, "show_ids")) { |