From ffe948d945deac342873a37ca57f0bb2bc0cf126 Mon Sep 17 00:00:00 2001 From: James Acklin Date: Fri, 7 May 2021 14:11:14 -0400 Subject: [PATCH] permalinks: re-enable channel-specific deletion notices --- .../src/views/apps/permalinks/TranscludedNode.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkg/interface/src/views/apps/permalinks/TranscludedNode.tsx b/pkg/interface/src/views/apps/permalinks/TranscludedNode.tsx index d0b820141..8e5214bcc 100644 --- a/pkg/interface/src/views/apps/permalinks/TranscludedNode.tsx +++ b/pkg/interface/src/views/apps/permalinks/TranscludedNode.tsx @@ -270,7 +270,10 @@ export function TranscludedNode(props: { const { node, showOurContact, assoc, transcluded } = props; const group = useGroupForAssoc(assoc)!; - if (typeof node?.post === 'string') { + if ( + typeof node?.post === "string" && + assoc.metadata.config.graph === "chat" + ) { return ( This message has been deleted. - ) + ); } switch (assoc.metadata.config.graph) {