Explorar el Código

safeguard more than 1 reply panic

master
Patrick Peng Sun hace 9 años
padre
commit
f712f943eb
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      wechatMsg.go

+ 2
- 1
wechatMsg.go Ver fichero

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



Cargando…
Cancelar
Guardar