Support bites

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-08-19 23:19:44 +02:00
parent 614168d079
commit 77c21723e5
12 changed files with 121 additions and 9 deletions

View File

@ -29,7 +29,7 @@ const useTimelineStream = (stream: string, params: { list?: string; tag?: string
const streamingUrl = instance.configuration.urls.streaming;
const connect = async () => {
if (!socket.current) {
if (!socket.current && streamingUrl) {
socket.current = client.streaming.connect();
socket.current.subscribe(stream, params);