mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
Allow mentions in PMs
(imported from commit 4d354eb3abb153706a577312724fa40fd2559f92)
This commit is contained in:
@@ -200,9 +200,6 @@ def mentioned_in_message(message):
|
||||
#
|
||||
# TODO(leo) There is a minor regression in that we no longer
|
||||
# match just-first-names or just-last-names
|
||||
if message.recipient.type != Recipient.STREAM:
|
||||
return (False, set())
|
||||
|
||||
wildcards = ['all', 'everyone']
|
||||
|
||||
potential_mentions = find_mentions_re.findall(message.content)
|
||||
|
||||
Reference in New Issue
Block a user