fix:当收到自己发送的消息的时候,返回为true

This commit is contained in:
eatMoreApple 2021-05-14 13:20:50 +08:00
parent 4fa5d04fb4
commit a1b6316e23

View File

@ -83,6 +83,7 @@ func (c *Caller) GetLoginInfo(body []byte) (*LoginInfo, error) {
} }
c.Client.domain = domain c.Client.domain = domain
resp := NewReturnResponse(c.Client.GetLoginInfo(path.String())) resp := NewReturnResponse(c.Client.GetLoginInfo(path.String()))
if resp.Err() != nil { if resp.Err() != nil {
uErr, ok := resp.Err().(*url.Error) uErr, ok := resp.Err().(*url.Error)