瀏覽代碼

safeguard more than 1 reply panic

master
Patrick Peng Sun 9 年之前
父節點
當前提交
f712f943eb
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      wechatMsg.go

+ 2
- 1
wechatMsg.go 查看文件

m.replied = true m.replied = true
m.instantResponse <- xml m.instantResponse <- xml
} else { } else {
log.Println("BUG::doubl reply for wechat message")
d := decryptToXML(xml)
log.Println("BUG::double reply for wechat message\n" + d + "\n")
} }
} }



Loading…
取消
儲存