mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Integrated fix for #143 in the main branch
This commit is contained in:
parent
c3b19f42d5
commit
868002c78b
@ -512,7 +512,12 @@ class baseBufferController(bufferController):
|
||||
twishort_enabled = tweet.has_key("twishort")
|
||||
users = utils.get_all_mentioned(tweet, self.session.db, field="screen_name")
|
||||
ids = utils.get_all_mentioned(tweet, self.session.db, field="id_str")
|
||||
message = messages.reply(self.session, _(u"Reply"), _(u"Reply to %s") % (screen_name,), "", twishort_enabled=self.session.settings["mysc"]["twishort_enabled"], users=users, ids=ids)
|
||||
# Build the window title
|
||||
if len(users) < 1:
|
||||
title=_("Reply to {}".format(screen_name))
|
||||
else:
|
||||
title=_("Reply")
|
||||
message = messages.reply(self.session, title, _(u"Reply to %s") % (screen_name,), "", twishort_enabled=self.session.settings["mysc"]["twishort_enabled"], users=users, ids=ids)
|
||||
if message.message.get_response() == widgetUtils.OK:
|
||||
params = {"_sound": "reply_send.ogg", "in_reply_to_status_id": id,}
|
||||
self.session.settings["mysc"]["twishort_enabled"] = message.message.long_tweet.GetValue()
|
||||
|
Loading…
Reference in New Issue
Block a user