forked from MirrorHub/mautrix-whatsapp
Remove reply fallback before generating new reply fallback. Fixes #26
This commit is contained in:
parent
361a1a1d1c
commit
c054fbae8e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue