We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31a4e06 commit 8ee7c46Copy full SHA for 8ee7c46
1 file changed
src/main/java/org/buddycloud/channelserver/pubsub/affiliation/Affiliations.java
@@ -21,24 +21,6 @@ public static Affiliations createFromString(String asString) {
21
}
22
return none;
23
24
-
25
- public static Affiliations createFromBuddycloudString(String bcString) {
26
27
- if ("producer".equals(bcString)) {
28
- return owner;
29
- } else if ("follower+post".equals(bcString)) {
30
- return publisher;
31
- } else if ("moderator".equals(bcString)) {
32
- return moderator;
33
- } else if ("follower".equals(bcString)) {
34
- return member;
35
- } else if ("none".equals(bcString)) {
36
- return none;
37
- } else if ("banned".equals(bcString)) {
38
- return outcast;
39
- }
40
41
42
43
public boolean in(Affiliations... affiliations) {
44
for (Affiliations a : affiliations) {
0 commit comments