From f0d0b77b8cd7c289a68457996a8cbfc706f49dc4 Mon Sep 17 00:00:00 2001 From: Jaiwanth Date: Tue, 29 Jun 2021 10:13:14 +0530 Subject: [PATCH] Update src/TextForEvent.tsx Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com> --- src/TextForEvent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TextForEvent.tsx b/src/TextForEvent.tsx index b1f3ebaef8..ac09060e22 100644 --- a/src/TextForEvent.tsx +++ b/src/TextForEvent.tsx @@ -137,7 +137,7 @@ function textForTopicEvent(ev): () => string | null { function textForRoomAvatarEvent(ev: MatrixEvent): () => string | null { const senderDisplayName = ev.sender && ev.sender.name ? ev.sender.name : ev.getSender(); - return () => _t('%(senderDisplayName)s changed the room avatar.', {senderDisplayName}); + return () => _t('%(senderDisplayName)s changed the room avatar.', { senderDisplayName }); } function textForRoomNameEvent(ev): () => string | null {