Reduce the size of all tweets so it might make easier to handle those in a realtime database

This commit is contained in:
2021-06-25 16:25:51 -05:00
parent 49505fabcd
commit c761230566
6 changed files with 114 additions and 46 deletions

View File

@@ -418,7 +418,7 @@ class baseBufferController(baseBuffers.buffer):
id = tweet.id
twishort_enabled = hasattr(tweet, "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")
ids = utils.get_all_mentioned(tweet, self.session.db, field="id")
# Build the window title
if len(users) < 1:
title=_("Reply to {arg0}").format(arg0=screen_name)