typing_events: Remove unnecessary code.

There is no need to set name field for event.sender since we
do not use it anywhere.
This commit is contained in:
Sahil Batra
2023-12-05 20:07:11 +05:30
committed by Tim Abbott
parent 6c3fbcc383
commit 578f9fb77e

View File

@@ -107,7 +107,6 @@ export function hide_notification(event) {
export function display_notification(event) {
const sender_id = event.sender.user_id;
event.sender.name = people.get_by_user_id(sender_id).full_name;
const key = get_key(event);
typing_data.add_typist(key, sender_id);