Remove trim_reply_fallback which now happens inside get_event

This commit is contained in:
Tulir Asokan 2019-06-16 21:34:53 +03:00
parent ff73ef64ec
commit 4a135ba1bc

View file

@ -179,7 +179,6 @@ class KarmaBot(Plugin):
if not self.config["store_content"]:
return ""
if isinstance(evt, MessageEvent):
evt.content.trim_reply_fallback()
if evt.content.msgtype in (MessageType.NOTICE, MessageType.TEXT, MessageType.EMOTE):
body = evt.content.body
if evt.content.msgtype == MessageType.EMOTE: