Skip to content

Commit

Permalink
init_room支持降级
Browse files Browse the repository at this point in the history
  • Loading branch information
xfgryujk committed Oct 11, 2020
1 parent d6897ca commit 8cf4310
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions api/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ def __init__(self, room_id):
self.clients: List['ChatHandler'] = []
self.auto_translate_count = 0

async def init_room(self):
await super().init_room()
return True

def stop_and_close(self):
if self.is_running:
future = self.stop()
Expand Down
2 changes: 1 addition & 1 deletion blivedm
Submodule blivedm updated 1 files
+40 −11 blivedm.py

0 comments on commit 8cf4310

Please sign in to comment.