Port MatrixJoinRules to C

This commit is contained in:
2017-11-02 10:13:09 +01:00
parent 6b8f2fe22c
commit 76d68d5c7b
4 changed files with 28 additions and 30 deletions

View File

@@ -147,6 +147,15 @@ namespace Matrix {
PRIVATE;
}
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_JOIN_RULES_")]
public enum JoinRules {
UNKNOWN,
PUBLIC,
INVITE,
PRIVATE,
KNOCK;
}
/**
* The major version number of the Matrix.org GLib SDK.
*/