From 7ff2aef7facdeb025a1651ef411fceb3d81932c1 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Fri, 3 Feb 2017 15:17:34 -0500 Subject: Implement GET /users endpoint for APIv4 (#5277) --- app/notification.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/notification.go') diff --git a/app/notification.go b/app/notification.go index 9ad0b346b..cc4e13ab1 100644 --- a/app/notification.go +++ b/app/notification.go @@ -25,7 +25,7 @@ import ( ) func SendNotifications(post *model.Post, team *model.Team, channel *model.Channel, sender *model.User) ([]string, *model.AppError) { - pchan := Srv.Store.User().GetProfilesInChannel(channel.Id, -1, -1, true) + pchan := Srv.Store.User().GetAllProfilesInChannel(channel.Id, true) fchan := Srv.Store.FileInfo().GetForPost(post.Id) var profileMap map[string]*model.User -- cgit v1.2.3-1-g7c22