1
This commit is contained in:
@@ -889,7 +889,10 @@ func GetIfReply(key string, keyDetail UserRelInfo) (flag bool) {
|
||||
}
|
||||
case VendorIDELMStr:
|
||||
elm := lastMsg.MsgContent.(map[string]interface{})
|
||||
s := elm["payLoad"].(map[string]interface{})["senderId"].(string)
|
||||
s := ""
|
||||
if elm["payLoad"].(map[string]interface{})["senderId"] != nil {
|
||||
s = elm["payLoad"].(map[string]interface{})["senderId"].(string)
|
||||
}
|
||||
if s == "" || s[:2] == ebaiapi.SenderTypeBusiness || s[:2] == ebaiapi.SenderTypeChainedAccountLogin || s[:2] == ebaiapi.SenderTypeSystem {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user