From 29e6db5713c57d7bb46d7aea38b1001b9e8a1212 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Thu, 30 Mar 2017 17:09:39 +0200 Subject: Implement POST /users/status/ids for apiv4 (#5894) --- app/status.go | 1 + 1 file changed, 1 insertion(+) (limited to 'app/status.go') diff --git a/app/status.go b/app/status.go index 3adf643f8..f6565b7d2 100644 --- a/app/status.go +++ b/app/status.go @@ -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 { -- cgit v1.2.3-1-g7c22