Send "delivery" receipt for messages bridged from WhatsApp too
This commit is contained in:
parent
93b758b026
commit
535efcc8bd
@ -279,6 +279,7 @@ func (portal *Portal) startHandling(info whatsapp.MessageInfo) bool {
|
|||||||
|
|
||||||
func (portal *Portal) finishHandling(source *User, message *waProto.WebMessageInfo, mxid id.EventID) {
|
func (portal *Portal) finishHandling(source *User, message *waProto.WebMessageInfo, mxid id.EventID) {
|
||||||
portal.markHandled(source, message, mxid)
|
portal.markHandled(source, message, mxid)
|
||||||
|
portal.sendDeliveryReceipt(mxid)
|
||||||
portal.log.Debugln("Handled message", message.GetKey().GetId(), "->", mxid)
|
portal.log.Debugln("Handled message", message.GetKey().GetId(), "->", mxid)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user