~singpolyma/cheogram-android

f967c5b2ec9ee8a0f80f3bd62915d190008fd973 — Stephen Paul Weber 9 months ago 73389f8
Fix NPE
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/ui/ContactDetailsActivity.java
M src/main/java/eu/siacs/conversations/ui/ContactDetailsActivity.java => src/main/java/eu/siacs/conversations/ui/ContactDetailsActivity.java +1 -1
@@ 644,7 644,7 @@ public class ContactDetailsActivity extends OmemoActivity implements OnAccountUp
                final Uri uri = items.getUri(pos);
                if (uri == null) return;

                if (uri.getScheme().equals("xmpp")) {
                if ("xmpp".equals(uri.getScheme())) {
                    switchToConversation(xmppConnectionService.findOrCreateConversation(account, Jid.of(uri.getSchemeSpecificPart()), false, true));
                } else {
                    Intent intent = new Intent(Intent.ACTION_VIEW, uri);