mirror of
https://github.com/tinode/chat.git
synced 2025-03-14 10:05:07 +00:00
Fix Bug: When Init-DB by json file, ignore tags of user if defined
This commit is contained in:
@ -52,7 +52,6 @@ func genDb(data *Data) {
|
||||
}
|
||||
user.CreatedAt = getCreatedTime(uu.CreatedAt)
|
||||
|
||||
user.Tags = make([]string, 0)
|
||||
user.Tags = append(user.Tags, "basic:"+uu.Username)
|
||||
if uu.Email != "" {
|
||||
user.Tags = append(user.Tags, "email:"+uu.Email)
|
||||
|
Reference in New Issue
Block a user