diff --git a/packages/app/src/Pages/Messages/MessagesPage.tsx b/packages/app/src/Pages/Messages/MessagesPage.tsx
index de59ac3a..cc88a8df 100644
--- a/packages/app/src/Pages/Messages/MessagesPage.tsx
+++ b/packages/app/src/Pages/Messages/MessagesPage.tsx
@@ -13,11 +13,9 @@ import DmWindow from "@/Element/Chat/DmWindow";
import { Chat, ChatType, useChatSystem } from "@/chat";
import { ChatParticipantProfile } from "@/Element/Chat/ChatParticipant";
import classNames from "classnames";
-import ProfileDmActions from "@/Pages/Messages/ProfileDmActions";
import NewChatWindow from "@/Pages/Messages/NewChatWindow";
const TwoCol = 768;
-const ThreeCol = 1500;
export default function MessagesPage() {
const login = useLogin();
@@ -112,11 +110,6 @@ export default function MessagesPage() {
)}
{chat ? : pageWidth >= TwoCol &&
}
- {pageWidth >= ThreeCol && chat && (
-
- )}
);
}
diff --git a/packages/app/src/Pages/Messages/ProfileDmActions.tsx b/packages/app/src/Pages/Messages/ProfileDmActions.tsx
deleted file mode 100644
index 48283a7f..00000000
--- a/packages/app/src/Pages/Messages/ProfileDmActions.tsx
+++ /dev/null
@@ -1,52 +0,0 @@
-import { decodeTLV, TLVEntryType } from "@snort/system";
-import { useUserProfile } from "@snort/system-react";
-import useModeration from "@/Hooks/useModeration";
-import Avatar from "@/Element/User/Avatar";
-import { getDisplayName } from "@/SnortUtils";
-import Text from "@/Element/Text";
-import Icon from "@/Icons/Icon";
-import { FormattedMessage } from "react-intl";
-import React from "react";
-
-export default function ProfileDmActions({ id }: { id: string }) {
- const authors = decodeTLV(id)
- .filter(a => a.type === TLVEntryType.Author)
- .map(a => a.value as string);
- const pubkey = authors[0];
- const profile = useUserProfile(pubkey);
- const { block, unblock, isBlocked } = useModeration();
-
- function truncAbout(s?: string) {
- if ((s?.length ?? 0) > 200) {
- return `${s?.slice(0, 200)}...`;
- }
- return s;
- }
-
- const blocked = isBlocked(pubkey);
- return (
- <>
-
- {getDisplayName(profile, pubkey)}
-
-
-
-
- (blocked ? unblock(pubkey) : block(pubkey))}>
-
- {blocked ? (
-
- ) : (
-
- )}
-
- >
- );
-}