Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Cadastrar
Acessar
Patrick
/
wechat_hitxy
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
safe guard empty message will not produce "BUG" message, it's legit
master
Patrick Peng Sun
8 anos atrás
pai
f077b71fb2
commit
b0f2d7fc3c
1 arquivos alterados
com
3 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+3
-0
wechatMsg.go
+ 3
- 0
wechatMsg.go
Ver arquivo
@@ -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)
}
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar