mirror of
https://github.com/Xtao-Labs/misskey2telegram.git
synced 2024-11-29 07:57:03 +00:00
fix: misskey websocket url
This commit is contained in:
parent
6dd58cb15d
commit
44e091752b
@ -94,7 +94,7 @@ async def run(user: User):
|
|||||||
misskey = await create_or_get_misskey_bot(user)
|
misskey = await create_or_get_misskey_bot(user)
|
||||||
try:
|
try:
|
||||||
logs.info(f"尝试启动 Misskey Bot WS 任务 {user.user_id}")
|
logs.info(f"尝试启动 Misskey Bot WS 任务 {user.user_id}")
|
||||||
await misskey.start(f"wss://{user.host}", user.token)
|
await misskey.start(f"wss://{user.host}/streaming", user.token)
|
||||||
except ClientConnectorError:
|
except ClientConnectorError:
|
||||||
await sleep(3)
|
await sleep(3)
|
||||||
await run(user)
|
await run(user)
|
||||||
|
Loading…
Reference in New Issue
Block a user