Mastodon: Fixed minor issue on notifications handler for streaming API

This commit is contained in:
Manuel Cortez 2023-02-03 11:31:57 -06:00
parent b4ea6ffcbe
commit aca51a2fb9
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

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