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
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
ad52183248
Коммит
02d581c159
@@ -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 = [];
|
||||
|
||||
Ссылка в новой задаче
Block a user