mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-05 22:03:50 +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 { node, showOurContact, assoc, transcluded } = props;
|
||||||
const group = useGroupForAssoc(assoc)!;
|
const group = useGroupForAssoc(assoc)!;
|
||||||
|
|
||||||
if (typeof node?.post === 'string') {
|
if (
|
||||||
|
typeof node?.post === "string" &&
|
||||||
|
assoc.metadata.config.graph === "chat"
|
||||||
|
) {
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
mx="12px"
|
mx="12px"
|
||||||
@ -281,7 +284,7 @@ export function TranscludedNode(props: {
|
|||||||
>
|
>
|
||||||
<Text gray>This message has been deleted.</Text>
|
<Text gray>This message has been deleted.</Text>
|
||||||
</Box>
|
</Box>
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (assoc.metadata.config.graph) {
|
switch (assoc.metadata.config.graph) {
|
||||||
|
Loading…
Reference in New Issue
Block a user