소스 검색

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)

Loading…
취소
저장