* when active, do not show overlay if this is a calls-started notification * add calls notification type; keep message test for backwards compat * process calls notifications properly * revert NOTIFICATION_TYPE.CALLS; use sub_type for backwards compatibility * add ticket and comment for future refactoring of isCallsStartedMessage
22 lines
441 B
TypeScript
22 lines
441 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export const CATEGORY = 'CAN_REPLY';
|
|
|
|
export const REPLY_ACTION = 'REPLY_ACTION';
|
|
|
|
export const NOTIFICATION_TYPE = {
|
|
CLEAR: 'clear',
|
|
MESSAGE: 'message',
|
|
SESSION: 'session',
|
|
};
|
|
|
|
export const NOTIFICATION_SUB_TYPE = {
|
|
CALLS: 'calls',
|
|
};
|
|
|
|
export default {
|
|
CATEGORY,
|
|
NOTIFICATION_TYPE,
|
|
REPLY_ACTION,
|
|
};
|