소스 검색

safe guard empty message will not produce "BUG" message, it's legit

master
Patrick Peng Sun 8 년 전
부모
커밋
b0f2d7fc3c
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      wechatMsg.go

+ 3
- 0
wechatMsg.go 파일 보기

@@ -35,6 +35,9 @@ func (m *InWechatMsg) replyXML(xml string) {
}

func (m *InWechatMsg) replyText(s string) {
if s == "" && m.replied == true {
return //skip safeguard empty message
}
str, _ := BuildTextMsg(m.header.FromUserName, s)
m.replyXML(str)
}

Loading…
취소
저장