MM-10254 Add plugin APIs for getting/updating user statuses (#9101)

* Add plugin APIs for getting/updating user statuses

* Add and update tests

* Updates per feedback
Этот коммит содержится в:
Joram Wilander
2018-07-16 15:49:26 -04:00
коммит произвёл GitHub
родитель 88eef609ab
Коммит 275731578e
20 изменённых файлов: 332 добавлений и 18 удалений

Просмотреть файл

@@ -1501,7 +1501,7 @@ func TestGetRecentlyActiveUsersInTeam(t *testing.T) {
Client := th.Client
teamId := th.BasicTeam.Id
th.App.SetStatusOnline(th.BasicUser.Id, "", true)
th.App.SetStatusOnline(th.BasicUser.Id, true)
rusers, resp := Client.GetRecentlyActiveUsersInTeam(teamId, 0, 60, "")
CheckNoError(t, resp)