add additional mentions to reply all

This commit is contained in:
Morgan McMillian 2020-12-21 18:50:55 -08:00
parent 1d2a7de3a5
commit 1d2d13d26e

View file

@ -285,6 +285,8 @@ class Timeline(Gtk.Box):
def on_reply_all(self, action, param): def on_reply_all(self, action, param):
replyuser = "@" + self.post_data.user.username + " " replyuser = "@" + self.post_data.user.username + " "
for mention in self.post_data.content.entities.mentions:
replyuser += "@" + mention.text + " "
self.emit('reply', self.post_data.id, replyuser) self.emit('reply', self.post_data.id, replyuser)
def on_bookmark(self, action, param): def on_bookmark(self, action, param):