Skip to content
Snippets Groups Projects
Commit 5ab6763b authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Fix reset auth callback handler in example app

parent 2b0c8fff
No related branches found
No related tags found
2 merge requests!115Messenger example - reset authenticated channel,!102Release 1.0.0
......@@ -18,7 +18,7 @@ extension AuthCallbackHandlerReset {
guard var dbContact = try db().fetchContacts(.init(id: [id])).first else {
return
}
dbContact.authStatus = .stranger
dbContact.authStatus = .friend
dbContact = try db().saveContact(dbContact)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment