浏览代码

safe guard empty message will not produce "BUG" message, it's legit

master
Patrick Peng Sun 8 年前
父节点
当前提交
b0f2d7fc3c
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      wechatMsg.go

+ 3
- 0
wechatMsg.go 查看文件

@@ -35,6 +35,9 @@ func (m *InWechatMsg) replyXML(xml string) {
}

func (m *InWechatMsg) replyText(s string) {
if s == "" && m.replied == true {
return //skip safeguard empty message
}
str, _ := BuildTextMsg(m.header.FromUserName, s)
m.replyXML(str)
}

正在加载...
取消
保存