From fddd974412fccecbd88e1302afe77d31ab8329aa Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 18 Aug 2019 13:03:43 +0200 Subject: [PATCH] do not put version info into disco This will reduce traffic by limiting the variety of different caps version hashes. It might also improve privacy by not leaking fdroid vs playstore vs self build information --- .../eu/siacs/conversations/generator/AbstractGenerator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java b/src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java index dc47fc4ed..1270c1019 100644 --- a/src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java +++ b/src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java @@ -68,8 +68,8 @@ public abstract class AbstractGenerator { return this.mVersion; } - public String getIdentityName() { - return mXmppConnectionService.getString(R.string.app_name) + ' ' + getIdentityVersion(); + String getIdentityName() { + return mXmppConnectionService.getString(R.string.app_name); } public String getUserAgent() {