Merge pull request #7765 from mattermost/fix_shared_channels_DM
Fix channel switcher routing for DMs with remote users
This commit is contained in:
commit
f5988f0ddc
1 changed files with 3 additions and 1 deletions
|
|
@ -15,6 +15,8 @@ export const TEAM_NAME_PATH_PATTERN = '[a-z0-9\\-_]+';
|
|||
// - Group Channel Name (40 length UID)
|
||||
// - DM Name (userID__userID)
|
||||
// - Username prefixed by a @
|
||||
// - Username prefixed by a @, with colon and remote name e.g. @username:companyname
|
||||
// - User ID
|
||||
// - Email
|
||||
export const IDENTIFIER_PATH_PATTERN = '[@a-zA-Z\\-_0-9][@a-zA-Z\\-_0-9.]*';
|
||||
export const IDENTIFIER_PATH_PATTERN = '[@a-zA-Z\\-_0-9][@a-zA-Z\\-_0-9.:]*';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue