mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
Use bareJid for own session retrieval
This commit is contained in:
parent
c1d23b2395
commit
cb7980c65e
@ -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
Block a user