From a3213fe64494e1d466ed8db08de81ec89d14da67 Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 21 Jun 2021 21:53:08 +0100 Subject: [PATCH] Add feedback option for Revite. --- src/components/common/messaging/Message.tsx | 1 + src/pages/settings/panes/Feedback.tsx | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/src/components/common/messaging/Message.tsx b/src/components/common/messaging/Message.tsx index 03cd3d16..800c1df0 100644 --- a/src/components/common/messaging/Message.tsx +++ b/src/components/common/messaging/Message.tsx @@ -26,6 +26,7 @@ export default function Message({ attachContext, message, contrast, content: rep return ( { head ? diff --git a/src/pages/settings/panes/Feedback.tsx b/src/pages/settings/panes/Feedback.tsx index a54c087d..8aeeafe2 100644 --- a/src/pages/settings/panes/Feedback.tsx +++ b/src/pages/settings/panes/Feedback.tsx @@ -58,6 +58,15 @@ export function Feedback() { onSelect={() => setChecked("Feature Request")}> + { (location.hostname === 'vite.revolt.chat' || location.hostname === 'local.revolt.chat') && { + setChecked("__other_option__"); + setOther("Revite"); + }}> + Issues with Revite + }