mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-17 12:35:37 +02:00
Introduce processor
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
export default acct => {
|
||||
const splitted = acct.split('@', 2);
|
||||
return { username: splitted[0], host: splitted[1] || null };
|
||||
};
|
||||
Reference in New Issue
Block a user