mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
fix: change the loof judge condition
This commit is contained in:
parent
22a926d64d
commit
cbcf1777bc
@ -411,7 +411,7 @@ func (m *MessageApi) CallbackExample(c *gin.Context) {
|
|||||||
|
|
||||||
apiresp.GinSuccess(c, resp)
|
apiresp.GinSuccess(c, resp)
|
||||||
imAdmin := config.Config.IMAdmin.UserID[0]
|
imAdmin := config.Config.IMAdmin.UserID[0]
|
||||||
if req.SendID == imAdmin || (req.SendID != imAdmin && req.SendID != imAdmin) {
|
if req.SendID == imAdmin {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user