Use bareJid for own session retrieval

This commit is contained in:
Andreas Straub 2015-06-29 14:19:17 +02:00
parent c1d23b2395
commit cb7980c65e
1 changed files with 1 additions and 1 deletions

View File

@ -591,7 +591,7 @@ public class AxolotlService {
}
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());
return ownDeviceSessions;
}