mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +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) {
|
||||
return new ReplyPreviewError();
|
||||
}
|
||||
else if (replyTextTile && this._interactive) {
|
||||
// if this._interactive = false, this is already a reply preview, don't nest replies for now.
|
||||
else if (replyTextTile && !this._isReplyPreview) {
|
||||
// if this._isReplyPreview = true, this is already a reply preview, don't nest replies for now.
|
||||
return new ReplyPreviewView(replyTextTile);
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user