mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 07:52:19 +00:00
extract_people_from_message: Add missing default case.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
19f7c6f012
commit
c48eb3d827
@@ -1013,6 +1013,9 @@ exports.extract_people_from_message = function (message) {
|
|||||||
case 'private':
|
case 'private':
|
||||||
involved_people = message.display_recipient;
|
involved_people = message.display_recipient;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
involved_people = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add new people involved in this message to the people list
|
// Add new people involved in this message to the people list
|
||||||
|
|||||||
Reference in New Issue
Block a user