Updated search index
This commit is contained in:
parent
ab175e8dab
commit
6e46c8950a
@ -77,7 +77,7 @@ func updateUserIndex() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for user := range userStream {
|
for user := range userStream {
|
||||||
if user.IsActive() && user.Nick != "" {
|
if user.HasNick() {
|
||||||
userSearchIndex.TextToID[strings.ToLower(user.Nick)] = user.ID
|
userSearchIndex.TextToID[strings.ToLower(user.Nick)] = user.ID
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user