[MM-37898] Exclude bots from initial user store emptiness check (#18139)
* Exclude bots from initial user store emptiness check * Add test
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
cbba2f1cca
Коммит
308a88efb1
@@ -424,7 +424,7 @@ type UserStore interface {
|
||||
DeactivateGuests() ([]string, error)
|
||||
AutocompleteUsersInChannel(teamID, channelID, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInChannel, error)
|
||||
GetKnownUsers(userID string) ([]string, error)
|
||||
IsEmpty() (bool, error)
|
||||
IsEmpty(excludeBots bool) (bool, error)
|
||||
}
|
||||
|
||||
type BotStore interface {
|
||||
|
||||
Ссылка в новой задаче
Block a user