Workspaces refactor #86

Merged
norm merged 189 commits from refactor/workspaces into main 2022-08-28 14:46:45 +00:00
Showing only changes of commit a4d5faa789 - Show all commits

View file

@ -9,6 +9,6 @@ export function parse(acct: string): Acct {
return { username: split[0], host: split[1] || null };
}
export function render(acct: Acct): string {
export function toString(acct: Acct): string {
return acct.host == null ? acct.username : `${acct.username}@${acct.host}`;
}