mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 17:25:50 +03:00
Shown own sent state indicator even when showReadReceipts is disabled (#12540)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
8b8b75e4a5
commit
0c04ec1def
1 changed files with 12 additions and 14 deletions
|
@ -1162,10 +1162,9 @@ export class UnwrappedEventTile extends React.Component<EventTileProps, IState>
|
|||
const ircPadlock = useIRCLayout && !isBubbleMessage && this.renderE2EPadlock();
|
||||
|
||||
let msgOption: JSX.Element | undefined;
|
||||
if (this.props.showReadReceipts) {
|
||||
if (this.shouldShowSentReceipt || this.shouldShowSendingReceipt) {
|
||||
msgOption = <SentReceipt messageState={this.props.mxEvent.getAssociatedStatus()} />;
|
||||
} else {
|
||||
} else if (this.props.showReadReceipts) {
|
||||
msgOption = (
|
||||
<ReadReceiptGroup
|
||||
readReceipts={this.props.readReceipts ?? []}
|
||||
|
@ -1176,7 +1175,6 @@ export class UnwrappedEventTile extends React.Component<EventTileProps, IState>
|
|||
/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
let replyChain: JSX.Element | undefined;
|
||||
if (
|
||||
|
|
Loading…
Reference in a new issue