Send Tweets to mentions properly

This commit is contained in:
2021-07-02 10:11:50 -05:00
parent 5f11467f27
commit 9053fcd5de
2 changed files with 2 additions and 2 deletions

View File

@@ -538,7 +538,7 @@ class Session(base.baseSession):
buffers_to_send.append("sent_tweets")
for user in status.entities["user_mentions"]:
if user["id"] == self.db["user_id"]:
buffers_to_send.append("mentions_timeline")
buffers_to_send.append("mentions")
users_with_timeline = [user.split("-")[0] for user in self.db.keys() if user.endswith("-timeline")]
for user in users_with_timeline:
if status.user.id_str == user: