aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/generator/AbstractGenerator.java
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-08-26 14:50:09 +0200
committerChristian Schneppe <christian@pix-art.de>2018-08-26 14:50:09 +0200
commit1b84205781e9dde416cdc9972b0fd47164ec4458 (patch)
treea3bfb3de0653d761ca407dc80e922481b3e023c6 /src/main/java/de/pixart/messenger/generator/AbstractGenerator.java
parent5c9e661b6a61df54ad144c62b6e12e71bfa1893c (diff)
store bookmarks in pep if conversion xep is running
Diffstat (limited to 'src/main/java/de/pixart/messenger/generator/AbstractGenerator.java')
-rw-r--r--src/main/java/de/pixart/messenger/generator/AbstractGenerator.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/generator/AbstractGenerator.java b/src/main/java/de/pixart/messenger/generator/AbstractGenerator.java
index 37a098300..507c0c39a 100644
--- a/src/main/java/de/pixart/messenger/generator/AbstractGenerator.java
+++ b/src/main/java/de/pixart/messenger/generator/AbstractGenerator.java
@@ -36,6 +36,7 @@ public abstract class AbstractGenerator {
"http://jabber.org/protocol/disco#info",
"urn:xmpp:avatar:metadata+notify",
"http://jabber.org/protocol/nick+notify",
+ Namespace.BOOKMARKS + "+notify",
"urn:xmpp:ping",
"jabber:iq:version",
"http://jabber.org/protocol/chatstates"
@@ -59,11 +60,11 @@ public abstract class AbstractGenerator {
protected XmppConnectionService mXmppConnectionService;
- protected AbstractGenerator(XmppConnectionService service) {
+ AbstractGenerator(XmppConnectionService service) {
this.mXmppConnectionService = service;
}
- protected String getIdentityVersion() {
+ String getIdentityVersion() {
if (mVersion == null) {
this.mVersion = PhoneHelper.getVersionName(mXmppConnectionService);
}