Browse Source

safeguard more than 1 reply panic

master
Patrick Peng Sun 9 years ago
parent
commit
f712f943eb
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      wechatMsg.go

+ 2
- 1
wechatMsg.go View File

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…
Cancel
Save