Procházet zdrojové kódy

bugfix for invalid message

master
Patrick Peng Sun před 8 roky
rodič
revize
0196a3ce08
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      server.go

+ 2
- 2
server.go Zobrazit soubor

@@ -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)

Načítá se…
Zrušit
Uložit