aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConversationsActivity.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java b/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java
index 824eef87c..400519ab3 100644
--- a/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java
@@ -791,10 +791,11 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
}
}
} else {
- if (users.size() == 1) {
+ if (users.size() == 0) {
absubtitle.setText(getString(R.string.one_participant));
} else {
- absubtitle.setText(getString(R.string.more_participants, users.size()));
+ int size = users.size() + 1;
+ absubtitle.setText(getString(R.string.more_participants, size));
}
}
absubtitle.setSelected(true);