kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix NPEs
rodzic
e00914c977
commit
288b416988
|
@ -113,7 +113,8 @@ public class ConversationListItem extends RelativeLayout
|
|||
}
|
||||
|
||||
public void unbind() {
|
||||
this.recipients.removeListener(this);
|
||||
if (this.recipients != null)
|
||||
this.recipients.removeListener(this);
|
||||
}
|
||||
|
||||
private void initializeContactWidgetVisibility() {
|
||||
|
|
|
@ -111,8 +111,10 @@ public class KeyExchangeProcessor {
|
|||
|
||||
sessionRecord.save();
|
||||
|
||||
DatabaseFactory.getIdentityDatabase(context)
|
||||
.saveIdentity(masterSecret, recipient, message.getIdentityKey());
|
||||
if (message.hasIdentityKey()) {
|
||||
DatabaseFactory.getIdentityDatabase(context)
|
||||
.saveIdentity(masterSecret, recipient, message.getIdentityKey());
|
||||
}
|
||||
|
||||
DecryptingQueue.scheduleRogueMessages(context, masterSecret, recipient);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue