package
0.0.0-20241025030232-2154053700bb
Repository: https://github.com/daodst/chat.git
Documentation: pkg.go.dev

# Functions

CheckAuthEvents checks that the event passes authentication checks Returns the numeric IDs for the auth events.
CheckForSoftFail returns true if the event should be soft-failed and false otherwise.
No description provided by the author
GetMembershipsAtState filters the state events to only keep the "m.room.member" events with a "join" membership.
No description provided by the author
IsServerCurrentlyInRoom checks if a server is in a given room, based on the room memberships.
No description provided by the author
No description provided by the author
No description provided by the author
TODO: Remove this when we have tests to assert correctness of this function.
No description provided by the author
No description provided by the author

# Type aliases

Map from numeric event ID to event.