mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-23 03:38:08 -06:00
Mastodon: Fixed minor issue on notifications handler for streaming API
This commit is contained in:
parent
b4ea6ffcbe
commit
aca51a2fb9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user