Documentation ¶
Index ¶
- func HistoryVisibilityForRoom(authEvents []*gomatrixserverlib.Event) string
- func IsAnyUserOnServerWithMembership(serverName gomatrixserverlib.ServerName, authEvents []*gomatrixserverlib.Event, ...) bool
- func IsServerAllowed(serverName gomatrixserverlib.ServerName, serverCurrentlyInRoom bool, ...) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HistoryVisibilityForRoom ¶
func HistoryVisibilityForRoom(authEvents []*gomatrixserverlib.Event) string
func IsAnyUserOnServerWithMembership ¶
func IsAnyUserOnServerWithMembership(serverName gomatrixserverlib.ServerName, authEvents []*gomatrixserverlib.Event, wantMembership string) bool
func IsServerAllowed ¶
func IsServerAllowed( serverName gomatrixserverlib.ServerName, serverCurrentlyInRoom bool, authEvents []*gomatrixserverlib.Event, ) bool
IsServerAllowed returns true if the server is allowed to see events in the room at this particular state. This function implements https://matrix.org/docs/spec/client_server/r0.6.0#id87
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.