Ver código fonte

Send "delivery" receipt for messages bridged from WhatsApp too

Tulir Asokan 5 anos atrás
pai
commit
535efcc8bd
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      portal.go

+ 1 - 0
portal.go

@@ -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)
 }