mirror of
https://github.com/Xtao-Labs/misskey2telegram.git
synced 2024-11-25 14:55:19 +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)
|
||||
try:
|
||||
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:
|
||||
await sleep(3)
|
||||
await run(user)
|
||||
|
Loading…
Reference in New Issue
Block a user