浏览代码

Send "delivery" receipt for messages bridged from WhatsApp too

Tulir Asokan 5 年之前
父节点
当前提交
535efcc8bd
共有 1 个文件被更改,包括 1 次插入0 次删除
  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)
 }