Send "delivery" receipt for messages bridged from WhatsApp too

This commit is contained in:
Tulir Asokan 2020-06-05 17:54:09 +03:00
parent 93b758b026
commit 535efcc8bd

View file

@ -279,6 +279,7 @@ func (portal *Portal) startHandling(info whatsapp.MessageInfo) bool {
func (portal *Portal) finishHandling(source *User, message *waProto.WebMessageInfo, mxid id.EventID) {
portal.markHandled(source, message, mxid)
portal.sendDeliveryReceipt(mxid)
portal.log.Debugln("Handled message", message.GetKey().GetId(), "->", mxid)
}