Added check members only room to send mediated invites

This commit is contained in:
James Booth
2015-03-28 22:51:41 +00:00
parent f1f047889e
commit fac2b2cf66
6 changed files with 77 additions and 1 deletions

View File

@@ -56,6 +56,12 @@ typedef enum {
MUC_AFFILIATION_OWNER
} muc_affiliation_t;
typedef enum {
MUC_MEMBER_TYPE_UNKNOWN,
MUC_MEMBER_TYPE_PUBLIC,
MUC_MEMBER_TYPE_MEMBERS_ONLY
} muc_member_type_t;
typedef struct _muc_occupant_t {
char *nick;
char *jid;
@@ -134,4 +140,6 @@ void muc_set_affiliation(const char * const room, const char * const affiliation
char *muc_role_str(const char * const room);
char *muc_affiliation_str(const char * const room);
muc_member_type_t muc_member_type(const char * const room);
#endif