Ver código fonte

trim spaces

master
Patrick Peng Sun 8 anos atrás
pai
commit
6735b28682
1 arquivos alterados com 1 adições e 0 exclusões
  1. +1
    -0
      procSearchMember.go

+ 1
- 0
procSearchMember.go Ver arquivo

func (m *procSearchMemberDef) serve(ss *openIDSessionData, in *InWechatMsg) (processed bool) { func (m *procSearchMemberDef) serve(ss *openIDSessionData, in *InWechatMsg) (processed bool) {
switch msg := in.body.(type) { switch msg := in.body.(type) {
case TextMsg: case TextMsg:
msg.Content = strings.TrimSpace(msg.Content)
if m.endingCommand(ss, msg.Content) { if m.endingCommand(ss, msg.Content) {
return return
} }

Carregando…
Cancelar
Salvar