mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Replies made with twishort should display user mentions properly
This commit is contained in:
parent
f7c334ad96
commit
c9161cd772
@ -455,4 +455,7 @@ class Session(object):
|
||||
if long != False and config.app["app-settings"]["handle_longtweets"]:
|
||||
tweet["message"] = twishort.get_full_text(long)
|
||||
tweet["twishort"] = True
|
||||
for i in tweet["entities"]["user_mentions"]:
|
||||
if "@%s" % (i["screen_name"] not in tweet["message"]):
|
||||
tweet["message"] = u"@%s %s" % (i["screen_name"], tweet["message"])
|
||||
return tweet
|
Loading…
Reference in New Issue
Block a user