fixed collecition containing flags

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2024-03-25 18:54:11 +01:00
parent 92e94eaa51
commit 4dcde76a08

View File

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