Browse Source

fixed collecition containing flags

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
main
Stephan Richter 8 months ago
parent
commit
4dcde76a08
  1. 2
      src/main/java/de/srsoftware/widerhall/data/ListMember.java

2
src/main/java/de/srsoftware/widerhall/data/ListMember.java

@ -391,7 +391,7 @@ public class ListMember {
* @return * @return
*/ */
public String stateText() { public String stateText() {
var words = new ArrayList<String>(); var words = new TreeSet<String>();
if (isAwaiting()) words.add(t("awaiting confirmation")); if (isAwaiting()) words.add(t("awaiting confirmation"));
if (isModerator()) words.add(t("moderator")); if (isModerator()) words.add(t("moderator"));
if (isOwner()) words.add(t("owner")); if (isOwner()) words.add(t("owner"));

Loading…
Cancel
Save