Skip to content

Commit 4c7f79c

Browse files
committed
fix: checkInbox on getContacts to detect revoked invites
getContacts(forceRefresh=true) now calls checkInbox() on each collector before loading invites, so revoke/refuse responses from patients are picked up immediately.
1 parent c3b1da0 commit 4c7f79c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ts/appTemplates/AppManagingAccount.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export class AppManagingAccount extends Application {
7878

7979
const loadCollector = async (collector: any) => {
8080
await collector.init(forceRefresh);
81+
if (forceRefresh) await collector.checkInbox();
8182
const invites = await collector.getInvites(forceRefresh);
8283
return invites;
8384
};

0 commit comments

Comments
 (0)