permalinks: re-enable channel-specific deletion notices

This commit is contained in:
James Acklin 2021-05-07 14:11:14 -04:00
parent 6d4bbe2517
commit ffe948d945

View File

@ -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 (
<Box
mx="12px"
@ -281,7 +284,7 @@ export function TranscludedNode(props: {
>
<Text gray>This message has been deleted.</Text>
</Box>
)
);
}
switch (assoc.metadata.config.graph) {