Fetch profiles whenever conversations are opened
For a group, fetch everyone's profile. // FREEBIE
This commit is contained in:
parent
d295fa7057
commit
f095a1583e
4 changed files with 25 additions and 14 deletions
|
@ -39186,13 +39186,7 @@ MessageSender.prototype = {
|
|||
},
|
||||
|
||||
getProfile: function(number) {
|
||||
return this.server.getProfile(number).then(function(profile) {
|
||||
var identityKey = dcodeIO.ByteBuffer.wrap(profile.identityKey).toArrayBuffer();
|
||||
|
||||
return textsecure.storage.protocol.isTrusted(number, identityKey).then(function(trusted) {
|
||||
|
||||
});
|
||||
});
|
||||
return this.server.getProfile(number);
|
||||
},
|
||||
|
||||
sendRequestGroupSyncMessage: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue