diff options
author | lookshe <github@lookshe.org> | 2015-08-16 18:33:10 +0200 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2015-08-16 18:33:10 +0200 |
commit | 0321ebb7a6785b4673376f9e6458e41dd96b2230 (patch) | |
tree | f67f8ba5069f4ca9c52df685c0f8a4f890f8cc0a /src/main/java/eu/siacs/conversations/entities/Account.java | |
parent | 3be4dbf66ae360e16e07a8a5da01c35f67e6ddfe (diff) |
fixes FS#35 - Shortcut Badger compatible to setting always_notify_in_conference
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/entities/Account.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/Account.java b/src/main/java/eu/siacs/conversations/entities/Account.java index f472361f..90c10199 100644 --- a/src/main/java/eu/siacs/conversations/entities/Account.java +++ b/src/main/java/eu/siacs/conversations/entities/Account.java @@ -128,6 +128,7 @@ public class Account extends AbstractEntity { private final Roster roster = new Roster(this); private List<Bookmark> bookmarks = new CopyOnWriteArrayList<>(); private final Collection<Jid> blocklist = new CopyOnWriteArraySet<>(); + private XmppConnectionService mXmppConnectionService; public Account() { this.uuid = "0"; @@ -278,6 +279,7 @@ public class Account extends AbstractEntity { } public void initAccountServices(final XmppConnectionService context) { + this.mXmppConnectionService = context; this.mOtrService = new OtrService(context, this); } @@ -418,4 +420,8 @@ public class Account extends AbstractEntity { public boolean isOnlineAndConnected() { return this.getStatus() == State.ONLINE && this.getXmppConnection() != null; } + + public XmppConnectionService getXmppConnectionService() { + return mXmppConnectionService; + } } |