Mastodon: Fixed minor issue on notifications handler for streaming API

This commit is contained in:
2023-02-03 11:31:57 -06:00
parent b4ea6ffcbe
commit aca51a2fb9

View File

@@ -290,7 +290,7 @@ class Session(base.baseSession):
obj = None
if notification.type == "mention":
buffers = ["mentions"]
obj = notification.status
obj = notification
elif notification.type == "follow":
buffers = ["followers"]
obj = notification.account