Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const ForwardMessageAction = ({ message, room }: ForwardMessageActionProps) => {
const { t } = useTranslation();

const encrypted = isE2EEMessage(message);
// @ts-expect-error to be implemented
const isABACEnabled = !!room.abacAttributes;

const getTitle = useMemo(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export const usePermalinkAction = (

const dispatchToastMessage = useToastMessageDispatch();

// @ts-expect-error - to be implemented
const isABACEnabled = !!room.abacAttributes;
const encrypted = isE2EEMessage(message);
const tooltip = useMemo(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export const useReplyInDMAction = (
const user = useUser();
const router = useRouter();
const encrypted = isE2EEMessage(message);
// @ts-expect-error - abacAttributes is not yet implemented in IRoom type
const isABACEnabled = !!room.abacAttributes;
const canCreateDM = usePermission('create-d');
const isLayoutEmbedded = useEmbeddedLayout();
Expand Down
Loading