mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-31 13:22:46 +00:00
Move SendJoin logic to GMSL (#3084)
Moves the core matrix logic for handling the send_join endpoint over to gmsl.
This commit is contained in:
parent
027a9b8ce0
commit
2eae8dc489
6 changed files with 147 additions and 233 deletions
|
@ -868,7 +868,7 @@ func (r *Queryer) QueryRoomInfo(ctx context.Context, roomID spec.RoomID) (*types
|
|||
}
|
||||
|
||||
func (r *Queryer) CurrentStateEvent(ctx context.Context, roomID spec.RoomID, eventType string, stateKey string) (gomatrixserverlib.PDU, error) {
|
||||
res, err := r.DB.GetStateEvent(ctx, roomID.String(), string(eventType), "")
|
||||
res, err := r.DB.GetStateEvent(ctx, roomID.String(), eventType, "")
|
||||
if res == nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue