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 obj = None
if notification.type == "mention": if notification.type == "mention":
buffers = ["mentions"] buffers = ["mentions"]
obj = notification.status obj = notification
elif notification.type == "follow": elif notification.type == "follow":
buffers = ["followers"] buffers = ["followers"]
obj = notification.account obj = notification.account