浏览代码

bugfix for invalid message

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

+ 2
- 2
server.go 查看文件

@@ -68,10 +68,10 @@ func answerWechatPost(w http.ResponseWriter, r *http.Request) {
} else {
//put into user session based pipeline
AllInMessage <- in
//read instant response
reply = <-in.instantResponse
}

//read instant response
reply = <-in.instantResponse
in.destroy()
//uncomment the followin two lines to enable echo test
// state, _ := echoCommand(in.header.FromUserName, in)

正在加载...
取消
保存