mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-25 00:48:52 -05:00
add OS to version response
This commit is contained in:
parent
dbab43e423
commit
178229ac60
@ -60,6 +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());
|
||||
if ("chromium".equals(android.os.Build.BRAND)) {
|
||||
query.addChild("os").setContent("Chromium");
|
||||
} else{
|
||||
query.addChild("os").setContent("Android");
|
||||
}
|
||||
return packet;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user