Update src/TextForEvent.tsx

Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
pull/21833/head
Jaiwanth 2021-06-29 10:13:14 +05:30 committed by GitHub
parent fc81001316
commit f0d0b77b8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ function textForTopicEvent(ev): () => string | null {
function textForRoomAvatarEvent(ev: MatrixEvent): () => string | null { function textForRoomAvatarEvent(ev: MatrixEvent): () => string | null {
const senderDisplayName = ev.sender && ev.sender.name ? ev.sender.name : ev.getSender(); 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 { function textForRoomNameEvent(ev): () => string | null {