Removed @all mention suggestion (#2845)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
7e414c89b4
Коммит
6f1489b788
@@ -101,13 +101,8 @@ export default class AtMentionProvider {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Don't imply that @all and @channel can be direct messaged
|
|
||||||
if (!pretext.startsWith('/msg')) {
|
if (!pretext.startsWith('/msg')) {
|
||||||
// add dummy users to represent the @all and @channel special mentions
|
// add dummy users to represent the @channel special mention when not using the /msg command
|
||||||
if ('all'.startsWith(usernamePrefix)) {
|
|
||||||
filtered.push({username: 'all'});
|
|
||||||
}
|
|
||||||
|
|
||||||
if ('channel'.startsWith(usernamePrefix)) {
|
if ('channel'.startsWith(usernamePrefix)) {
|
||||||
filtered.push({username: 'channel'});
|
filtered.push({username: 'channel'});
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user