PLT-5238: Show error on execute invalid slash command. (#5057)
Этот коммит содержится в:
коммит произвёл
enahum
родитель
b6cba7a07b
Коммит
0196137dec
@@ -48,7 +48,14 @@ export function executeCommand(message, args, success, error) {
|
||||
msg = '/shortcuts';
|
||||
}
|
||||
}
|
||||
Client.executeCommand(msg, args, success, error);
|
||||
Client.executeCommand(msg, args, success,
|
||||
(err) => {
|
||||
AsyncClient.dispatchError(err, 'executeCommand');
|
||||
|
||||
if (error) {
|
||||
error(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
export function setChannelAsRead(channelIdParam) {
|
||||
|
||||
Ссылка в новой задаче
Block a user