mattermost-mobile/app/products/calls/errors.ts
Christopher Poile 7fbd2e52e2
[MM-58129] Calls: Host controls remove participant, view profile (#7938)
* host remove command, host removed feedback

* add view profile control

* i18n; dismissBottomSheet later

* PR comments

* remove confusing setPreviousCall(null)

* our own separator, bit more space for Android

* no need for previousCall due to changes on server

* move host removed alert to an error

* channel_id is not send via the msg.broadcast

* channel_id is still sent via the msg.broadcast
2024-05-10 16:43:35 -04:00

6 lines
337 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
export const userRemovedFromChannelErr = new Error('user was removed from channel');
export const userLeftChannelErr = new Error('user has left channel');
export const hostRemovedErr = new Error('user was removed by host');