diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-11-15 21:08:42 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-11-15 21:08:42 +0100 |
commit | e05df83a2a3260f1b04c36ff270ea2c3f2b5a64c (patch) | |
tree | a9c27e9866bfc40b51624cbf7688c9a174a72e07 /src/main/java/de/pixart/messenger/generator/AbstractGenerator.java | |
parent | 0bffe0ef9edc7b382da53d7518fa51ec995902c0 (diff) |
do not show up navigation in start conversation screen if called with view intent
Diffstat (limited to 'src/main/java/de/pixart/messenger/generator/AbstractGenerator.java')
-rw-r--r-- | src/main/java/de/pixart/messenger/generator/AbstractGenerator.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/generator/AbstractGenerator.java b/src/main/java/de/pixart/messenger/generator/AbstractGenerator.java index 507c0c39a..ac57c74d1 100644 --- a/src/main/java/de/pixart/messenger/generator/AbstractGenerator.java +++ b/src/main/java/de/pixart/messenger/generator/AbstractGenerator.java @@ -72,7 +72,11 @@ public abstract class AbstractGenerator { } public String getIdentityName() { - return mXmppConnectionService.getString(R.string.app_name) + " " + getIdentityVersion(); + return mXmppConnectionService.getString(R.string.app_name) + ' ' + getIdentityVersion(); + } + + public String getUserAgent() { + return mXmppConnectionService.getString(R.string.app_name) + '/' + getIdentityVersion(); } String getIdentityType() { |