Add option to link to original message in non-native reply

This commit is contained in:
Tulir Asokan
2018-02-08 15:27:21 +02:00
parent 9eff63c220
commit d349c58f90
3 changed files with 20 additions and 6 deletions
+1
View File
@@ -682,6 +682,7 @@ class Portal:
self.log.debug(f"Sending {evt.message} to {self.mxid} by {sender.id}")
text, html = formatter.telegram_event_to_matrix(evt, source,
config["bridge.native_replies"],
config["bridge.link_in_reply"],
self.main_intent)
sender.intent.set_typing(self.mxid, is_typing=False)
return sender.intent.send_text(self.mxid, text, html=html)