fixed omemo device list not getting annouced on empty list
This commit is contained in:
parent
7542322a40
commit
e7243b5e2c
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ public class AxolotlService implements OnAdvancedStreamFeaturesLoaded {
|
|||
final int hash = deviceIds.hashCode();
|
||||
final boolean me = jid.toBareJid().equals(account.getJid().toBareJid());
|
||||
if (me) {
|
||||
if (hash == this.lastDeviceListNotificationHash) {
|
||||
if (hash != 0 && hash == this.lastDeviceListNotificationHash) {
|
||||
Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": ignoring duplicate own device id list");
|
||||
return;
|
||||
}
|
||||
|
|
Reference in a new issue