diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-07-27 20:58:13 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-07-27 21:31:40 +0200 |
commit | f6ff83a8cc0f2040dcf804ab62fe270a082f8d96 (patch) | |
tree | e12d32e75a0b44028d7b7973052f85f95e5f3f53 /src/main/java/eu/siacs/conversations | |
parent | bcadc56519068d1a5721569d8fea90fa1f6157a4 (diff) |
add OS to version response
Diffstat (limited to 'src/main/java/eu/siacs/conversations')
-rw-r--r-- | src/main/java/eu/siacs/conversations/generator/IqGenerator.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/generator/IqGenerator.java b/src/main/java/eu/siacs/conversations/generator/IqGenerator.java index 3aff63a3a..ad650c3ef 100644 --- a/src/main/java/eu/siacs/conversations/generator/IqGenerator.java +++ b/src/main/java/eu/siacs/conversations/generator/IqGenerator.java @@ -60,7 +60,11 @@ public class IqGenerator extends AbstractGenerator { Element query = packet.query("jabber:iq:version"); query.addChild("name").setContent(mXmppConnectionService.getString(R.string.app_name)); query.addChild("version").setContent(getIdentityVersion()); - query.addChild("os").setContent(getIdentityVersionOs()); + if ("chromium".equals(android.os.Build.BRAND)) { + query.addChild("os").setContent("Chromium"); + } else{ + query.addChild("os").setContent("Android"); + } return packet; } |