Updated search index

This commit is contained in:
Eduard Urbach 2017-07-19 03:45:30 +02:00
parent ab175e8dab
commit 6e46c8950a

View File

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