You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Desktop: Improved accepting a folder share
This commit is contained in:
@ -200,6 +200,13 @@ export default class ShareService {
|
||||
return this.api().exec('GET', 'api/share_users');
|
||||
}
|
||||
|
||||
public setProcessingShareInvitationResponse(v: boolean) {
|
||||
this.store.dispatch({
|
||||
type: 'SHARE_INVITATION_RESPONSE_PROCESSING',
|
||||
value: v,
|
||||
});
|
||||
}
|
||||
|
||||
public async respondInvitation(shareUserId: string, accept: boolean) {
|
||||
if (accept) {
|
||||
await this.api().exec('PATCH', `api/share_users/${shareUserId}`, null, { status: 1 });
|
||||
|
Reference in New Issue
Block a user