diff options
author | Michael <betheg@bitcloner.org> | 2014-08-29 23:30:47 +0200 |
---|---|---|
committer | Michael <betheg@bitcloner.org> | 2014-08-29 23:30:47 +0200 |
commit | 3714947d5f9307b173fdaf7b0fc08d92fd824553 (patch) | |
tree | 1257249aa0b0d017170bce7c9349f48cbe68af05 /src/eu/siacs/conversations/ui/StartConversationActivity.java | |
parent | 98dabe9ab488ab92ff255cb04feaaddad6488c12 (diff) | |
parent | 5450a2ae469a84f5c285aeaf68135684ad6aae27 (diff) |
Merge remote-tracking branch 'upstream/development' into fix_typo
Diffstat (limited to 'src/eu/siacs/conversations/ui/StartConversationActivity.java')
-rw-r--r-- | src/eu/siacs/conversations/ui/StartConversationActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/StartConversationActivity.java b/src/eu/siacs/conversations/ui/StartConversationActivity.java index bcb9f1dd..bd66bd94 100644 --- a/src/eu/siacs/conversations/ui/StartConversationActivity.java +++ b/src/eu/siacs/conversations/ui/StartConversationActivity.java @@ -340,6 +340,10 @@ public class StartConversationActivity extends XmppActivity { String contactJid = jid.getText().toString(); Account account = xmppConnectionService .findAccountByJid(accountJid); + if (account==null) { + dialog.dismiss(); + return; + } Contact contact = account.getRoster().getContact( contactJid); if (contact.showInRoster()) { |