mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
minor: Make comment more accurate in popover error condition.
This commit is contained in:
@@ -82,9 +82,8 @@ function show_user_info_popover(element, user, message) {
|
|||||||
var elt = $(element);
|
var elt = $(element);
|
||||||
if (elt.data('popover') === undefined) {
|
if (elt.data('popover') === undefined) {
|
||||||
if (user === undefined) {
|
if (user === undefined) {
|
||||||
// This case should not happen, because
|
// This is never supposed to happen, not even for deactivated
|
||||||
// people.extract_people_from_message should have added
|
// users, so we'll need to debug this error if it occurs.
|
||||||
// the message sender to the people.js data set.
|
|
||||||
blueslip.error('Bad sender in message' + message.sender_id);
|
blueslip.error('Bad sender in message' + message.sender_id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user