mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Implement POST /users/status/ids for apiv4 (#5894)
This commit is contained in:
committed by
Corey Hulen
parent
ee3b983a63
commit
29e6db5713
@@ -126,6 +126,7 @@ func GetUserStatusesByIds(userIds []string) ([]*model.Status, *model.AppError) {
|
||||
|
||||
// For the case where the user does not have a row in the Status table and cache
|
||||
// remove the existing ids from missingUserIds and then create a offline state for the missing ones
|
||||
// This also return the status offline for the non-existing Ids in the system
|
||||
for i := 0; i < len(missingUserIds); i++ {
|
||||
missingUserId := missingUserIds[i]
|
||||
for _, userMap := range statusMap {
|
||||
|
||||
Reference in New Issue
Block a user