fix (client): don't interpret sample account ID as MFM
This commit is contained in:
parent
98cc23557f
commit
51f9d20073
2 changed files with 3 additions and 0 deletions
|
@ -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) => {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue