diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-04-12 21:22:48 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-04-12 21:22:48 +0200 |
commit | 51afe29aec302b1002b62acedf5afd1d07463b00 (patch) | |
tree | 5ebbd84ac0c71f4d62e7fea797c2a49bd260f6f4 /src/main/java/de/pixart/messenger | |
parent | 69114f04a8400d0c240bf3fdd8515f3f57155cce (diff) |
fix invite links
Diffstat (limited to 'src/main/java/de/pixart/messenger')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/XmppActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/XmppActivity.java b/src/main/java/de/pixart/messenger/ui/XmppActivity.java index 936c62390..e482f3879 100644 --- a/src/main/java/de/pixart/messenger/ui/XmppActivity.java +++ b/src/main/java/de/pixart/messenger/ui/XmppActivity.java @@ -1007,8 +1007,8 @@ public abstract class XmppActivity extends ActionBarActivity { (dialog, id) -> { String selection = spinner.getSelectedItem().toString(); Account mAccount = xmppConnectionService.findAccountByJid(Jid.of(selection).asBareJid()); - String user = mAccount.getDisplayName(); - String domain = mAccount.getJid().getDomain(); + String user = Jid.of(mAccount.getJid()).getLocal(); + String domain = Jid.of(mAccount.getJid()).getDomain(); String inviteURL = AdHocInviteUri(mAccount); if (inviteURL == null) { inviteURL = Config.inviteUserURL + user + "/" + domain; |