mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-09 03:25:59 +08:00
conversation update
This commit is contained in:
@@ -51,7 +51,8 @@ func CreateToken(userID string, platformID int32) (string, int64, error) {
|
||||
}
|
||||
var deleteTokenKey []string
|
||||
for k, v := range m {
|
||||
if v != constant.NormalToken {
|
||||
_, err = GetClaimFromToken(k)
|
||||
if err != nil || v != constant.NormalToken {
|
||||
deleteTokenKey = append(deleteTokenKey, k)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user