aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-05-29 20:21:53 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-05-29 20:21:53 +0200
commit9afafe387aca9f8793f5a9e3d76d841ada7658b7 (patch)
tree207c8895a088aab9f0ba860a0284f9bb9ddf2635
parent107ab85a22bda92d7cb1d10ea2494c7280bccf67 (diff)
fix creation of conferences with 1 participant
Diffstat (limited to '')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java
index 9af83edd..548682df 100644
--- a/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java
@@ -699,7 +699,6 @@ public class StartConversationActivity extends XmppActivity implements OnRosterU
if (xmppConnectionServiceBound) {
this.mPostponedActivityResult = null;
if (requestCode == REQUEST_CREATE_CONFERENCE) {
- Log.d(Config.LOGTAG,"account jid: "+ intent.getStringExtra(EXTRA_ACCOUNT));
Account account = extractAccount(intent);
final String subject = intent.getStringExtra("subject");
List<Jid> jids = new ArrayList<>();
@@ -719,7 +718,7 @@ public class StartConversationActivity extends XmppActivity implements OnRosterU
//ignored
}
}
- if (account != null && jids.size() > 1) {
+ if (account != null && jids.size() > 0) {
xmppConnectionService.createAdhocConference(account, subject, jids, mAdhocConferenceCallback);
mToast = Toast.makeText(this, R.string.creating_conference,Toast.LENGTH_LONG);
mToast.show();