Remove reply fallback before generating new reply fallback. Fixes #26

This commit is contained in:
Tulir Asokan 2019-02-20 14:46:37 +02:00
parent 361a1a1d1c
commit c054fbae8e

View file

@ -547,6 +547,7 @@ func (portal *Portal) SetReply(content *mautrix.Content, info whatsapp.MessageIn
portal.log.Warnln("Failed to get reply target:", err) portal.log.Warnln("Failed to get reply target:", err)
return return
} }
event.Content.RemoveReplyFallback()
content.SetReply(event) content.SetReply(event)
} }
return return