Skip to content
Snippets Groups Projects
Commit 1517b1d3 authored by Bruno Muniz's avatar Bruno Muniz
Browse files

Requesting a friend still needs username fact

parent 1eb712e4
No related branches found
No related tags found
2 merge requests!8Fixing failed verification due to wrong fact passed,!7Requesting a friend still needs username fact
......@@ -149,7 +149,9 @@ extension Session {
contactToOperate.status = .requesting
client.bindings.add(contactToOperate.marshaled, from: client.bindings.meMarshalled) { [weak self, contactToOperate] in
let myself = client.bindings.meMarshalled(username!, email: nil, phone: nil)
client.bindings.add(contactToOperate.marshaled, from: myself) { [weak self, contactToOperate] in
guard let self = self, var contactToOperate = contactToOperate else { return }
let safeName = contactToOperate.nickname ?? contactToOperate.username
let title = "\(safeName.prefix(2))...\(safeName.suffix(3))"
......
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