[mastodon-client] fix getDefaultPostPrivacy

This commit is contained in:
Laura Hausmann 2023-07-10 18:45:01 +02:00
parent 5c3a3ac02b
commit 5bb7707649
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605
1 changed files with 1 additions and 1 deletions

View File

@ -1541,7 +1541,7 @@ export default class Misskey implements MegalodonInterface {
if (!res.data || (res.data != 'public' && res.data != 'home' && res.data != 'followers' && res.data != 'specified'))
return 'public';
return this.converter.visibility(res.data);
});
}).catch(_ => 'public')
}
public async unfavouriteStatus(id: string): Promise<Response<Entity.Status>> {