Add value description to HistoryVisibility

This commit is contained in:
Gergely Polonkai 2016-03-09 16:16:25 +01:00 committed by Gergely Polonkai
parent feb2bd0323
commit 49a8b1f665

View File

@ -263,11 +263,16 @@ namespace Matrix {
} }
public enum HistoryVisibility { public enum HistoryVisibility {
UNKNOWN, UNKNOWN, /// represents a value unknown to this library
INVITED, INVITED, /// only room members can see the room
JOINED, /// history, and only what happened after they
SHARE, /// got an invitation
WORLD_READABLE; JOINED, /// only room members can see the room
/// history, and only what happened after they
/// joined
SHARED, /// only room members can see the room
/// history, but they see all of it
WORLD_READABLE; /// anyone can see the room history
} }
public enum GuestAccess { public enum GuestAccess {