extract_people_from_message: Add missing default case.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2020-02-05 15:54:06 -08:00
committed by Tim Abbott
parent 19f7c6f012
commit c48eb3d827

View File

@@ -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