forked from mystiq/hydrogen-web
Use different flag
This commit is contained in:
parent
0c3f16e5f6
commit
d69059de68
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue