mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-11 00:43:10 -06:00
More comments
This commit is contained in:
parent
1ed74d4123
commit
13c38ef498
|
|
@ -184,11 +184,11 @@ type RoomRecentEventsUpdater interface {
|
||||||
// The caller should call one of SetToInvite, SetToJoin or SetToLeave once to
|
// The caller should call one of SetToInvite, SetToJoin or SetToLeave once to
|
||||||
// make the update, or none of them if no update is required.
|
// make the update, or none of them if no update is required.
|
||||||
type MembershipUpdater interface {
|
type MembershipUpdater interface {
|
||||||
// True if the target user is invited to the room.
|
// True if the target user is invited to the room before updating.
|
||||||
IsInvite() bool
|
IsInvite() bool
|
||||||
// True if the target user is joined to the room.
|
// True if the target user is joined to the room before updating.
|
||||||
IsJoin() bool
|
IsJoin() bool
|
||||||
// True if the target user is not invited or joined to the room.
|
// True if the target user is not invited or joined to the room before updating.
|
||||||
IsLeave() bool
|
IsLeave() bool
|
||||||
// Set the state to invite.
|
// Set the state to invite.
|
||||||
// Returns whether this invite needs to be sent
|
// Returns whether this invite needs to be sent
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue