[mastodon-client] fix getDefaultPostPrivacy
This commit is contained in:
parent
a2d870a803
commit
b9ae9717f3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue