mirror of
https://github.com/mautrix/telegram.git
synced 2026-05-17 07:25:46 +03:00
Fix call end message
This commit is contained in:
@@ -3688,7 +3688,7 @@ class Portal(DBPortal, BasePortal):
|
||||
end_reason = "disconnected"
|
||||
body = f"{call_type} {end_reason}"
|
||||
if action.duration:
|
||||
body += f" ({format_duration(action.duration)}"
|
||||
body += f" ({format_duration(action.duration)})"
|
||||
await self._send_message(
|
||||
sender.intent_for(self),
|
||||
TextMessageEventContent(msgtype=MessageType.NOTICE, body=body),
|
||||
|
||||
Reference in New Issue
Block a user