From 47b8f5fe64935b43ca9e4d011b4abf3939cd2d91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Thu, 8 Dec 2022 16:40:14 +0100 Subject: [PATCH] Specify description format as markdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/actions/events.ts | 1 + app/soapbox/features/event/event-information.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/app/soapbox/actions/events.ts b/app/soapbox/actions/events.ts index 28d5b9db7..55bf6eec3 100644 --- a/app/soapbox/actions/events.ts +++ b/app/soapbox/actions/events.ts @@ -249,6 +249,7 @@ const submitEvent = () => status, start_time: startTime, join_mode: joinMode, + content_type: 'text/markdown', }; if (endTime) params.end_time = endTime; diff --git a/app/soapbox/features/event/event-information.tsx b/app/soapbox/features/event/event-information.tsx index e6c2f4e72..7e6f2d4a3 100644 --- a/app/soapbox/features/event/event-information.tsx +++ b/app/soapbox/features/event/event-information.tsx @@ -1,6 +1,7 @@ import React, { useCallback, useEffect, useState } from 'react'; import { FormattedDate, FormattedMessage } from 'react-intl'; +import { openModal } from 'soapbox/actions/modals'; import { fetchStatus } from 'soapbox/actions/statuses'; import MissingIndicator from 'soapbox/components/missing-indicator'; import StatusContent from 'soapbox/components/status-content';