summaryrefslogtreecommitdiffstats
path: root/app/status.go
diff options
context:
space:
mode:
authorCarlos Tadeu Panato Junior <ctadeu@gmail.com>2017-03-30 17:09:39 +0200
committerCorey Hulen <corey@hulen.com>2017-03-30 08:09:39 -0700
commit29e6db5713c57d7bb46d7aea38b1001b9e8a1212 (patch)
tree66d0a06a35068ce26024b0b9c030de0b1c8bab5c /app/status.go
parentee3b983a6344d78bafa553607133020e8e1fb0ed (diff)
downloadchat-29e6db5713c57d7bb46d7aea38b1001b9e8a1212.tar.gz
chat-29e6db5713c57d7bb46d7aea38b1001b9e8a1212.tar.bz2
chat-29e6db5713c57d7bb46d7aea38b1001b9e8a1212.zip
Implement POST /users/status/ids for apiv4 (#5894)
Diffstat (limited to 'app/status.go')
-rw-r--r--app/status.go1
1 files changed, 1 insertions, 0 deletions
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 {