aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-11-30 18:58:10 +0100
committerChristian Schneppe <christian@pix-art.de>2018-11-30 18:58:10 +0100
commit855e4b428b18a06e703dcb17c6a0ad0820451230 (patch)
tree884f752e9faa07cb823dd4b156d2c1b588644e09
parent682d270d1156da7f001bef5ddf94a58b556b391a (diff)
also show invite button in ConferenceDetailsActivity if there were no users inside
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java b/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java
index 7f9e971d3..583f3d3ad 100644
--- a/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java
@@ -725,11 +725,11 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers
binding.contactPhoto.setAlpha(INACTIVE_ALPHA);
}
this.binding.mucMembers.addView(binding.getRoot());
- if (mConversation.getMucOptions().canInvite()) {
- this.binding.invite.setVisibility(View.VISIBLE);
- } else {
- this.binding.invite.setVisibility(View.GONE);
- }
+ }
+ if (mConversation.getMucOptions().canInvite()) {
+ this.binding.invite.setVisibility(View.VISIBLE);
+ } else {
+ this.binding.invite.setVisibility(View.GONE);
}
}