X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/b09677a46c4ecf07f305892b51a927e4d7341793..6826e3cb49f42142d5d3201a7425a2180f496216:/src/main/java/org/asamk/signal/GroupPermission.java diff --git a/src/main/java/org/asamk/signal/GroupPermission.java b/src/main/java/org/asamk/signal/GroupPermission.java deleted file mode 100644 index 08056284..00000000 --- a/src/main/java/org/asamk/signal/GroupPermission.java +++ /dev/null @@ -1,27 +0,0 @@ -package org.asamk.signal; - -public enum GroupPermission { - EVERY_MEMBER { - @Override - public String toString() { - return "every-member"; - } - }, - ONLY_ADMINS { - @Override - public String toString() { - return "only-admins"; - } - }; - - public org.asamk.signal.manager.groups.GroupPermission toManager() { - switch (this) { - case EVERY_MEMBER: - return org.asamk.signal.manager.groups.GroupPermission.EVERY_MEMBER; - case ONLY_ADMINS: - return org.asamk.signal.manager.groups.GroupPermission.ONLY_ADMINS; - default: - throw new AssertionError(); - } - } -}