mirror of https://github.com/zulip/zulip.git
message_edit_history: Handle cases for messages edited by inaccessible user.
Inaccessible users are shown as "Unknown user" in message edit history modal.
This commit is contained in:
parent
fef833008f
commit
2364060a7c
|
@ -47,7 +47,7 @@ export function fetch_and_render_message_history(message) {
|
|||
continue;
|
||||
}
|
||||
|
||||
const person = people.get_by_user_id(msg.user_id);
|
||||
const person = people.get_user_by_id_assert_valid(msg.user_id);
|
||||
const full_name = person.full_name;
|
||||
|
||||
if (index === 0) {
|
||||
|
|
Loading…
Reference in New Issue