[MM-21115] Add permissions check on user_typing event (#13373)

* Add permissions check on user_typing event

* Fix test
Этот коммит содержится в:
Claudio Costa
2019-12-11 20:18:36 +01:00
коммит произвёл GitHub
родитель 637d9e0ea6
Коммит acb19f640b
4 изменённых файлов: 29 добавлений и 12 удалений

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

@@ -850,7 +850,7 @@ func TestGetAllChannelsWithCount(t *testing.T) {
for _, c := range *channels {
require.NotEqual(t, c.TeamId, "")
}
require.Equal(t, int64(5), total)
require.Equal(t, int64(6), total)
channels, _, resp = th.SystemAdminClient.GetAllChannelsWithCount(0, 10, "")
CheckNoError(t, resp)