File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -405,19 +405,10 @@ async def get_room_member_info(
405405 async def set_typing (
406406 self ,
407407 room_id : RoomID ,
408- is_typing : bool = True ,
409- timeout : int = 5000 ,
408+ timeout : int = 0 ,
410409 ) -> None :
411- """
412- Args:
413- room_id: The ID of the room in which the user is typing.
414- is_typing: Whether the user is typing.
415- .. deprecated:: 0.18.10
416- Use ``timeout=0`` instead of setting this flag.
417- timeout: The length of time in seconds to mark this user as typing.
418- """
419410 await self .ensure_joined (room_id )
420- await super ().set_typing (room_id , timeout if is_typing else 0 )
411+ await super ().set_typing (room_id , timeout )
421412
422413 async def error_and_leave (
423414 self , room_id : RoomID , text : str | None = None , html : str | None = None
You can’t perform that action at this time.
0 commit comments