Skip to content

Commit

Permalink
force accept imported events
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalmi committed Aug 19, 2023
1 parent 26007dd commit b75c3e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/js/views/settings/Backup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@ const Backup = () => {
if (!event.sig) {
continue; // we don't want to sign & publish unsigned events
}
Events.publish(event);
requestAnimationFrame(() => {
Events.handle(event, true);
Events.publish(event);
});
const myPub = Key.getPubKey();
// even if it's an old contacts event by us, restore follows from it
if (event.pubkey === myPub && event.kind === 3) {
Expand Down

0 comments on commit b75c3e6

Please sign in to comment.