mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
fix missing member affiliation on odbc plugin
SVN Revision: 2603
This commit is contained in:
parent
970973cb9a
commit
9aee12d83b
@ -1295,6 +1295,7 @@ decode_node(N) -> ?PUBSUB:string_to_node(N).
|
||||
|
||||
decode_affiliation("o") -> owner;
|
||||
decode_affiliation("p") -> publisher;
|
||||
decode_affiliation("m") -> member;
|
||||
decode_affiliation("c") -> outcast;
|
||||
decode_affiliation(_) -> none.
|
||||
|
||||
@ -1314,6 +1315,7 @@ encode_jid(JID) -> ?PUBSUB:escape(jlib:jid_to_string(JID)).
|
||||
|
||||
encode_affiliation(owner) -> "o";
|
||||
encode_affiliation(publisher) -> "p";
|
||||
encode_affiliation(member) -> "m";
|
||||
encode_affiliation(outcast) -> "c";
|
||||
encode_affiliation(_) -> "n".
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user