-
-
- { _t('Reply to
', {}, {
- 'User': () =>
,
- }) }
-
-
cancelQuoting(this.context.timelineRenderingType)} />
+
+
+
{ _t('Replying') }
+
cancelQuoting(this.context.timelineRenderingType)}
+ />
+
+
-
;
}
}
diff --git a/src/components/views/rooms/ReplyTile.tsx b/src/components/views/rooms/ReplyTile.tsx
index bc26c02c23..2b973abfca 100644
--- a/src/components/views/rooms/ReplyTile.tsx
+++ b/src/components/views/rooms/ReplyTile.tsx
@@ -44,7 +44,6 @@ interface IProps {
getRelationsForEvent?: (
(eventId: string, relationType: string, eventType: string) => Relations
);
- showSenderProfile?: boolean;
}
export default class ReplyTile extends React.PureComponent
{
@@ -52,7 +51,6 @@ export default class ReplyTile extends React.PureComponent {
static defaultProps = {
onHeightChanged: () => {},
- showSenderProfile: true,
};
componentDidMount() {
@@ -138,8 +136,7 @@ export default class ReplyTile extends React.PureComponent {
let sender;
const needsSenderProfile = (
- this.props.showSenderProfile
- && !isInfoMessage
+ !isInfoMessage
&& msgType !== MsgType.Image
&& evType !== EventType.Sticker
&& evType !== EventType.RoomCreate
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index 9982b50542..6a7e3f77f3 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -1700,12 +1700,12 @@
"Send message": "Send message",
"Reply to encrypted thread…": "Reply to encrypted thread…",
"Reply to thread…": "Reply to thread…",
- "Send encrypted reply…": "Send encrypted reply…",
- "Send reply…": "Send reply…",
- "Send encrypted message…": "Send encrypted message…",
- "Send message…": "Send message…",
- "This room has been replaced and is no longer active.": "This room has been replaced and is no longer active.",
+ "Send an encrypted reply…": "Send an encrypted reply…",
+ "Send a reply…": "Send a reply…",
+ "Send an encrypted message…": "Send an encrypted message…",
+ "Send a message…": "Send a message…",
"The conversation continues here.": "The conversation continues here.",
+ "This room has been replaced and is no longer active.": "This room has been replaced and is no longer active.",
"You do not have permission to post to this room": "You do not have permission to post to this room",
"%(seconds)ss left": "%(seconds)ss left",
"Send voice message": "Send voice message",
@@ -1758,7 +1758,7 @@
"Seen by %(count)s people|one": "Seen by %(count)s person",
"Read receipts": "Read receipts",
"Recently viewed": "Recently viewed",
- "Reply to ": "Reply to ",
+ "Replying": "Replying",
"Room %(name)s": "Room %(name)s",
"Recently visited rooms": "Recently visited rooms",
"No recently visited rooms": "No recently visited rooms",
diff --git a/test/components/views/rooms/MessageComposer-test.tsx b/test/components/views/rooms/MessageComposer-test.tsx
index d774aa8060..e756a7653c 100644
--- a/test/components/views/rooms/MessageComposer-test.tsx
+++ b/test/components/views/rooms/MessageComposer-test.tsx
@@ -61,7 +61,7 @@ describe("MessageComposer", () => {
expect(wrapper.find("SendMessageComposer")).toHaveLength(0);
expect(wrapper.find("MessageComposerButtons")).toHaveLength(0);
- expect(wrapper.find("p").text()).toContain("room has been replaced");
+ expect(wrapper.find(".mx_MessageComposer_roomReplaced_header")).toHaveLength(1);
});
});