mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user