Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit dbf2394

Browse files
authored
Merge pull request #5388 from matrix-org/t3chguy/fix/15395
Fix room list message preview copy for hangup events
2 parents 6a91675 + a952c0a commit dbf2394

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/i18n/strings/en_EN.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,8 @@
437437
"You joined the call": "You joined the call",
438438
"%(senderName)s joined the call": "%(senderName)s joined the call",
439439
"Call in progress": "Call in progress",
440-
"You left the call": "You left the call",
441-
"%(senderName)s left the call": "%(senderName)s left the call",
440+
"You ended the call": "You ended the call",
441+
"%(senderName)s ended the call": "%(senderName)s ended the call",
442442
"Call ended": "Call ended",
443443
"You started a call": "You started a call",
444444
"%(senderName)s started a call": "%(senderName)s started a call",

src/stores/room-list/previews/CallHangupEvent.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ export class CallHangupEvent implements IPreview {
2424
public getTextFor(event: MatrixEvent, tagId?: TagID): string {
2525
if (shouldPrefixMessagesIn(event.getRoomId(), tagId)) {
2626
if (isSelf(event)) {
27-
return _t("You left the call");
27+
return _t("You ended the call");
2828
} else {
29-
return _t("%(senderName)s left the call", {senderName: getSenderName(event)});
29+
return _t("%(senderName)s ended the call", {senderName: getSenderName(event)});
3030
}
3131
} else {
3232
return _t("Call ended");

0 commit comments

Comments
 (0)