aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-11-16 17:35:59 +0100
committerDaniel Gultsch <daniel@gultsch.de>2014-11-16 17:35:59 +0100
commit155b607f4dbef1399196d4bdc43c6e10cfc142b0 (patch)
tree64cbf3503c5a3f34414744180bc07391af8df595 /src/main/java
parentcf00f3fade1e76ff9360e96d5505d49c7c89d5c4 (diff)
parent5765a91db67590644fcc11e0cc10e6854412a2a1 (diff)
Merge pull request #673 from SamWhited/development
Fix fetching accounts by JIDs
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/eu/siacs/conversations/services/XmppConnectionService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
index 509030c6..d2cbbe7c 100644
--- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
@@ -1825,7 +1825,7 @@ public class XmppConnectionService extends Service {
public Account findAccountByJid(final Jid accountJid) {
for (Account account : this.accounts) {
- if (account.getJid().toBareJid().equals(accountJid)) {
+ if (account.getJid().toBareJid().equals(accountJid.toBareJid())) {
return account;
}
}