This commit is contained in:
邹宗楠
2025-08-01 17:27:24 +08:00
parent ec1dbde460
commit ad2b46b2cc
2 changed files with 6 additions and 1 deletions

View File

@@ -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
}