Privateの公開範囲を廃止

This commit is contained in:
syuilo
2018-12-29 02:55:46 +09:00
parent 545ced7826
commit a3493c4f07
10 changed files with 18 additions and 30 deletions

View File

@ -52,7 +52,7 @@ export default async function(resolver: Resolver, actor: IRemoteUser, activity:
});
}
type visibility = 'public' | 'home' | 'followers' | 'specified' | 'private';
type visibility = 'public' | 'home' | 'followers' | 'specified';
function getVisibility(to: string[], cc: string[], actor: IRemoteUser): visibility {
const PUBLIC = 'https://www.w3.org/ns/activitystreams#Public';