Changeset 2dcde94
- Timestamp:
- 2012-12-03T23:30:33Z (12 years ago)
- Branches:
- master
- Children:
- 573e274
- Parents:
- 3ca001b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter_lib.c
r3ca001b r2dcde94 814 814 815 815 if ((txs = twitter_xt_get_status(o))) { 816 return twitter_stream_handle_status(ic, txs); 816 gboolean ret = twitter_stream_handle_status(ic, txs); 817 txs_free(txs); 818 return ret; 817 819 } else if ((c = json_o_get(o, "direct_message")) && 818 820 (txs = twitter_xt_get_dm(c))) { … … 847 849 if (td->log[i].id == txs->id) { 848 850 /* Got a duplicate (RT, probably). Drop it. */ 849 txs_free(txs);850 851 return TRUE; 851 852 } 852 853 } 853 854 854 if (!(set_getbool(&ic->acc->set, "fetch_mentions") || 855 if (!(strcmp(txs->user->screen_name, td->user) == 0 || 856 set_getbool(&ic->acc->set, "fetch_mentions") || 855 857 bee_user_by_handle(ic->bee, ic, txs->user->screen_name))) { 856 858 /* Tweet is from an unknown person and the user does not want … … 864 866 865 867 twitter_status_show(ic, txs); 866 txs_free(txs);867 868 868 869 return TRUE;
Note: See TracChangeset
for help on using the changeset viewer.