Use bareJid for own session retrieval

This commit is contained in:
Andreas Straub 2015-06-29 14:19:17 +02:00
parent ba9520729f
commit ae75c571df
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;
}