Fix Telegram media handling

This commit is contained in:
Tulir Asokan
2018-03-03 14:20:37 +02:00
parent a9b362943f
commit 08b6f9dbbf
+1 -1
View File
@@ -964,7 +964,7 @@ class Portal:
return
intent = sender.intent if sender else self.main_intent
if evt.message:
if not evt.media and evt.message:
response = await self.handle_telegram_text(source, intent, evt)
elif evt.media:
relates_to = formatter.telegram_reply_to_matrix(evt, source)