~singpolyma/cheogram-android

63501adc45804ced79486fe7e7ff32213f38ef49 — Daniel Gultsch 1 year, 4 months ago f4be142
trim xmpp address after user input
M src/main/java/eu/siacs/conversations/ui/EnterJidDialog.java => src/main/java/eu/siacs/conversations/ui/EnterJidDialog.java +1 -1
@@ 170,7 170,7 @@ public class EnterJidDialog extends DialogFragment implements OnBackendConnected
        }
        final Jid contactJid;
        try {
            contactJid = Jid.ofEscaped(binding.jid.getText().toString());
            contactJid = Jid.ofEscaped(binding.jid.getText().toString().trim());
        } catch (final IllegalArgumentException e) {
            binding.jidLayout.setError(getActivity().getString(R.string.invalid_jid));
            return;

M src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java => src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java +1 -1
@@ 1054,7 1054,7 @@ public class StartConversationActivity extends XmppActivity implements XmppConne
        if (account == null) {
            return;
        }
        final String input = jid.getText().toString();
        final String input = jid.getText().toString().trim();
        Jid conferenceJid;
        try {
            conferenceJid = Jid.ofEscaped(input);