Skip to content
Snippets Groups Projects
Commit 6c4dd2bc authored by vjrj's avatar vjrj
Browse files

Await to new contact with resized avatar

parent 3011c7d8
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ Future<Contact> getProfile(String pubKey, ...@@ -75,7 +75,7 @@ Future<Contact> getProfile(String pubKey,
} }
final Map<String, dynamic> profile = final Map<String, dynamic> profile =
const JsonDecoder().convert(cPlusResponse.body) as Map<String, dynamic>; const JsonDecoder().convert(cPlusResponse.body) as Map<String, dynamic>;
final Contact c = contactFromResultSearch(profile); final Contact c = await contactFromResultSearch(profile);
if (!onlyCPlusProfile) { if (!onlyCPlusProfile) {
// This penalize the gva rate limit // This penalize the gva rate limit
// final String? nick = await gvaNick(pubKey); // final String? nick = await gvaNick(pubKey);
......
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