Move format_duration to mautrix-python

Closes #707
This commit is contained in:
Tulir Asokan
2021-12-12 12:17:54 +02:00
parent 74ec8f4fa6
commit 8603c67347
7 changed files with 8 additions and 43 deletions
+1 -1
View File
@@ -27,11 +27,11 @@ from telethon.tl.types import User
from mautrix.types import (EventID, UserID, MediaMessageEventContent, ImageInfo, MessageType,
TextMessageEventContent)
from mautrix.util.format_duration import format_duration as fmt_duration
from ... import user as u
from ...types import TelegramID
from ...commands import command_handler, CommandEvent, SECTION_AUTH
from ...util import format_duration as fmt_duration
try:
import qrcode