Use bareJid for own session retrieval
This commit is contained in:
parent
ba9520729f
commit
ae75c571df
|
@ -591,7 +591,7 @@ public class AxolotlService {
|
||||||
}
|
}
|
||||||
|
|
||||||
private Set<XmppAxolotlSession> findOwnSessions() {
|
private Set<XmppAxolotlSession> findOwnSessions() {
|
||||||
AxolotlAddress ownAddress = getAddressForJid(account.getJid());
|
AxolotlAddress ownAddress = getAddressForJid(account.getJid().toBareJid());
|
||||||
Set<XmppAxolotlSession> ownDeviceSessions = new HashSet<>(this.sessions.getAll(ownAddress).values());
|
Set<XmppAxolotlSession> ownDeviceSessions = new HashSet<>(this.sessions.getAll(ownAddress).values());
|
||||||
return ownDeviceSessions;
|
return ownDeviceSessions;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue