Only ignore our own stale devices
This commit is contained in:
parent
6e9fb17f8f
commit
e79f364e1d
|
@ -385,8 +385,8 @@ public abstract class OmemoService<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey,
|
|||
}
|
||||
}
|
||||
|
||||
// Ignore stale devices
|
||||
if (OmemoConfiguration.getIgnoreStaleDevices()) {
|
||||
// Ignore own stale devices
|
||||
if (contactsDevice.getJid().equals(userDevice.getJid()) && OmemoConfiguration.getIgnoreStaleDevices()) {
|
||||
|
||||
Date lastMessageDate = getOmemoStoreBackend().getDateOfLastReceivedMessage(userDevice, contactsDevice);
|
||||
if (lastMessageDate == null) {
|
||||
|
|
Loading…
Reference in New Issue