We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beade51 commit 3a34fdcCopy full SHA for 3a34fdc
1 file changed
mautrix/appservice/api/intent.py
@@ -405,19 +405,10 @@ async def get_room_member_info(
405
async def set_typing(
406
self,
407
room_id: RoomID,
408
- is_typing: bool = True,
409
- timeout: int = 5000,
+ timeout: int = 0,
410
) -> 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
419
await self.ensure_joined(room_id)
420
- await super().set_typing(room_id, timeout if is_typing else 0)
+ await super().set_typing(room_id, timeout)
421
422
async def error_and_leave(
423
self, room_id: RoomID, text: str | None = None, html: str | None = None
0 commit comments