メンションを処理
This commit is contained in:
parent
b77cbeca22
commit
1f018d87f2
2 changed files with 43 additions and 7 deletions
|
|
@ -4,7 +4,7 @@ import webFinger from './webfinger';
|
|||
import config from '../config';
|
||||
import { createPerson } from './activitypub/models/person';
|
||||
|
||||
export default async (username, _host, option) => {
|
||||
export default async (username, _host, option?) => {
|
||||
const usernameLower = username.toLowerCase();
|
||||
const hostAscii = toASCII(_host).toLowerCase();
|
||||
const host = toUnicode(hostAscii);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue