fix (client): don't interpret sample account ID as MFM

This commit is contained in:
naskya 2024-04-27 10:53:39 +09:00
parent 98cc23557f
commit 51f9d20073
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
2 changed files with 3 additions and 0 deletions

View file

@ -379,6 +379,7 @@ export function inputText(props: {
default?: string | null;
minLength?: number;
maxLength?: number;
isPlaintext?: boolean;
}): Promise<
| { canceled: true; result?: undefined }
| {
@ -400,6 +401,7 @@ export function inputText(props: {
minLength: props.minLength,
maxLength: props.maxLength,
},
isPlaintext: props.isPlaintext,
},
{
done: (result) => {

View file

@ -32,6 +32,7 @@ if (isSignedIn(me)) {
// Otherwise ask the user what the other account ID is
const remoteAccountId = await os.inputText({
text: i18n.ts.inputAccountId,
isPlaintext: true,
});
// If the user do not want enter uri, the user will be redirected to the user page.