stable release #130

Merged
floatingghost merged 187 commits from develop into stable 2022-08-12 15:26:51 +00:00
Showing only changes of commit 12d7e4ea24 - Show all commits

View file

@ -1440,6 +1440,8 @@ export const ProcessedWS = ({
export const handleMastoWS = (wsEvent) => {
const { data } = wsEvent
if (!data) return
if (data === 'pong') return
const parsedEvent = JSON.parse(data)
const { event, payload } = parsedEvent
if (MASTODON_STREAMING_EVENTS.has(event) || PLEROMA_STREAMING_EVENTS.has(event)) {