mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Clean up the send_message processing of the message recipient.
(imported from commit 1e6d7783901743650cfb759b3136ae1de0f2989e)
This commit is contained in:
@@ -53,7 +53,7 @@ function stream_to_me(message) {
|
||||
}
|
||||
|
||||
function pm_to_me(message) {
|
||||
return message.type === 'private' && message.to[0] === 'humbug+tutorial@humbughq.com';
|
||||
return message.type === 'private' && message.to === 'humbug+tutorial@humbughq.com';
|
||||
}
|
||||
|
||||
function any_message_to_me(message) {
|
||||
|
||||
Reference in New Issue
Block a user