[mastodon-client] fix getDefaultPostPrivacy
This commit is contained in:
parent
5c3a3ac02b
commit
5bb7707649
@ -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>> {
|
||||
|
Loading…
Reference in New Issue
Block a user