mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
streaming: add stream param to streaming events
This commit is contained in:
parent
b60e84d29b
commit
a93d77c851
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ const streamingController: AppController = (c) => {
|
||||||
socket.send(JSON.stringify({
|
socket.send(JSON.stringify({
|
||||||
event: name,
|
event: name,
|
||||||
payload: JSON.stringify(payload),
|
payload: JSON.stringify(payload),
|
||||||
|
stream: [stream],
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue