File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ def run(
451451
452452 def _emit (
453453 self ,
454- room_id : int ,
454+ room_id : Union [ int , str ] ,
455455 event : str ,
456456 * args : Optional [Any ],
457457 scope : Optional [str ] = None ,
@@ -462,7 +462,7 @@ def _emit(
462462 emit an event to a roomId.
463463
464464 Args:
465- room_id (int):
465+ room_id (int/str ):
466466 Room Id to emit the event to.
467467 event (str):
468468 Name of the event to emit.
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ def __init__(
354354 self ._is_closing = False
355355
356356 async def connect (self , uri , ssl : SSLContext ):
357- self ._proto = await connect (uri , ssl = ssl )
357+ self ._proto = await connect (uri , ssl = ssl , max_size = 2 ** 24 )
358358 asyncio .create_task (self ._recv_loop ())
359359 self ._is_closing = False
360360 return self
Original file line number Diff line number Diff line change 1- __version__ = '1.1.3 '
1+ __version__ = '1.1.4 '
You can’t perform that action at this time.
0 commit comments