diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-07 23:32:24 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-07 23:32:24 +0200 |
commit | db59b15ed94eaebe6932d7bc9eaceadf9bc1a4f3 (patch) | |
tree | 0ac757efee9c80754bf4fd0401f73688bd5e4379 /src/main/java/de/pixart/messenger/ui/ContactDetailsActivity.java | |
parent | 903a3d17f2055bdc5ba4f316419b158ce453bfda (diff) |
use escaped form of jid where approriate
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui/ContactDetailsActivity.java')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ContactDetailsActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ContactDetailsActivity.java b/src/main/java/de/pixart/messenger/ui/ContactDetailsActivity.java index 4726922bf..ce4dad47e 100644 --- a/src/main/java/de/pixart/messenger/ui/ContactDetailsActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ContactDetailsActivity.java @@ -231,7 +231,7 @@ public class ContactDetailsActivity extends OmemoActivity implements OnAccountUp protected String getShareableUri(boolean http) { final String prefix = http ? Config.inviteUserURL : "xmpp:"; if (contact != null) { - return prefix + contact.getJid().asBareJid().toString(); + return prefix + contact.getJid().asBareJid().toEscapedString(); } else { return ""; } |