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