Skip to content
Snippets Groups Projects
Commit a3213fe6 authored by insert's avatar insert
Browse files

Add feedback option for Revite.

parent c597fc81
Branches
No related merge requests found
......@@ -26,6 +26,7 @@ export default function Message({ attachContext, message, contrast, content: rep
return (
<MessageBase id={message._id}
contrast={contrast}
head={head}
onContextMenu={attachContext ? attachContextMenu('Menu', { message, contextualChannel: message.channel }) : undefined}>
<MessageInfo>
{ head ?
......
......@@ -58,6 +58,15 @@ export function Feedback() {
onSelect={() => setChecked("Feature Request")}>
<Text id="app.settings.pages.feedback.feature" />
</Radio>
{ (location.hostname === 'vite.revolt.chat' || location.hostname === 'local.revolt.chat') && <Radio
disabled={state === "sending"}
checked={other === "Revite"}
onSelect={() => {
setChecked("__other_option__");
setOther("Revite");
}}>
Issues with Revite
</Radio> }
<Radio
disabled={state === "sending"}
checked={checked === "__other_option__"}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment