permalinks: re-enable channel-specific deletion notices
@@ -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) {
