parent
59c1050e10
commit
bff92549a2
@ -975,18 +975,20 @@ subscriptions model =
|
|||||||
Mastodon.WebSocket.UserStream
|
Mastodon.WebSocket.UserStream
|
||||||
NewWebsocketUserMessage
|
NewWebsocketUserMessage
|
||||||
]
|
]
|
||||||
++ (if model.useGlobalTimeline then
|
++ (if model.currentView == GlobalTimelineView then
|
||||||
[ Mastodon.WebSocket.subscribeToWebSockets
|
[ Mastodon.WebSocket.subscribeToWebSockets
|
||||||
client
|
client
|
||||||
Mastodon.WebSocket.GlobalPublicStream
|
Mastodon.WebSocket.GlobalPublicStream
|
||||||
NewWebsocketGlobalMessage
|
NewWebsocketGlobalMessage
|
||||||
]
|
]
|
||||||
else
|
else if model.currentView == LocalTimelineView then
|
||||||
[ Mastodon.WebSocket.subscribeToWebSockets
|
[ Mastodon.WebSocket.subscribeToWebSockets
|
||||||
client
|
client
|
||||||
Mastodon.WebSocket.LocalPublicStream
|
Mastodon.WebSocket.LocalPublicStream
|
||||||
NewWebsocketLocalMessage
|
NewWebsocketLocalMessage
|
||||||
]
|
]
|
||||||
|
else
|
||||||
|
[]
|
||||||
)
|
)
|
||||||
in
|
in
|
||||||
Sub.batch <|
|
Sub.batch <|
|
||||||
|
Loading…
Reference in New Issue
Block a user