This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Patrick
/
wechat_hitxy
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
safe guard empty message will not produce "BUG" message, it's legit
master
Patrick Peng Sun
8 years ago
parent
f077b71fb2
commit
b0f2d7fc3c
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
wechatMsg.go
+ 3
- 0
wechatMsg.go
View File
@@ -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)
}
Write
Preview
Loading…
Cancel
Save