Fix target recipient for SN update message.
This commit is contained in:
parent
249dd7a1e7
commit
511412e1c5
1 changed files with 3 additions and 1 deletions
|
@ -742,7 +742,9 @@ public final class ConversationUpdateItem extends FrameLayout
|
|||
return;
|
||||
}
|
||||
|
||||
IdentityUtil.getRemoteIdentityKey(getContext(), messageRecord.getToRecipient()).addListener(new ListenableFuture.Listener<>() {
|
||||
Recipient recipient = messageRecord.isIdentityUpdate() ? messageRecord.getFromRecipient() : messageRecord.getToRecipient();
|
||||
|
||||
IdentityUtil.getRemoteIdentityKey(getContext(), recipient).addListener(new ListenableFuture.Listener<>() {
|
||||
@Override
|
||||
public void onSuccess(Optional<IdentityRecord> result) {
|
||||
if (result.isPresent()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue