[mastodon-client] fix getDefaultPostPrivacy
This commit is contained in:
parent
5c3a3ac02b
commit
5bb7707649
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'))
|
if (!res.data || (res.data != 'public' && res.data != 'home' && res.data != 'followers' && res.data != 'specified'))
|
||||||
return 'public';
|
return 'public';
|
||||||
return this.converter.visibility(res.data);
|
return this.converter.visibility(res.data);
|
||||||
});
|
}).catch(_ => 'public')
|
||||||
}
|
}
|
||||||
|
|
||||||
public async unfavouriteStatus(id: string): Promise<Response<Entity.Status>> {
|
public async unfavouriteStatus(id: string): Promise<Response<Entity.Status>> {
|
||||||
|
|
Loading…
Reference in a new issue