Lookup the membership of a given user in a given room. Returns the numeric ID of the latest membership event sent from this user in this room, along a boolean set to true if the user is still in this room, false if not. Returns an error if there was a problem talking to the database.
(ctx context.Context, roomNID types.RoomNID, requestSenderUserID string)
| 126 | // false if not. |
| 127 | // Returns an error if there was a problem talking to the database. |
| 128 | GetMembership(ctx context.Context, roomNID types.RoomNID, requestSenderUserID string) (membershipEventNID types.EventNID, stillInRoom, isRoomForgotten bool, err error) |
| 129 | // Lookup the membership event numeric IDs for all user that are or have |
| 130 | // been members of a given room. Only lookup events of "join" membership if |
| 131 | // joinOnly is set to true. |
no outgoing calls
no test coverage detected