PLT-4697 Update channel switcher to autocomplete all users on the system (#4624)

* Add autocomplete API for system-wide users

* Update channel switcher to autocomplete all users on the system
Этот коммит содержится в:
Joram Wilander
2016-11-29 10:12:59 -05:00
коммит произвёл Christopher Speller
родитель ad52183248
Коммит 02d581c159
7 изменённых файлов: 119 добавлений и 5 удалений

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

@@ -602,6 +602,21 @@ describe('Client.User', function() {
});
});
it('autocompleteUsers', function(done) {
TestHelper.initBasic(() => {
TestHelper.basicClient().autocompleteUsers(
'uid',
function(data) {
assert.equal(data != null, true);
done();
},
function(err) {
done(new Error(err.message));
}
);
});
});
it('getStatusesByIds', function(done) {
TestHelper.initBasic(() => {
var ids = [];