mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
permalinks: re-enable channel-specific deletion notices
This commit is contained in:
parent
6d4bbe2517
commit
ffe948d945
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user