mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
Use different flag
This commit is contained in:
parent
0c3f16e5f6
commit
d69059de68
@ -30,8 +30,8 @@ export class TextMessageView extends BaseMessageView {
|
|||||||
if (vm.isReply && !replyTextTile) {
|
if (vm.isReply && !replyTextTile) {
|
||||||
return new ReplyPreviewError();
|
return new ReplyPreviewError();
|
||||||
}
|
}
|
||||||
else if (replyTextTile && this._interactive) {
|
else if (replyTextTile && !this._isReplyPreview) {
|
||||||
// if this._interactive = false, this is already a reply preview, don't nest replies for now.
|
// if this._isReplyPreview = true, this is already a reply preview, don't nest replies for now.
|
||||||
return new ReplyPreviewView(replyTextTile);
|
return new ReplyPreviewView(replyTextTile);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user