mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
client: remove redundant state store update in room create
This commit is contained in:
parent
9a170d2669
commit
237ce1c64c
1 changed files with 0 additions and 3 deletions
|
|
@ -1378,9 +1378,6 @@ func (cli *Client) CreateRoom(ctx context.Context, req *ReqCreateRoom) (resp *Re
|
|||
Msg("Failed to update membership in state store after creating room")
|
||||
}
|
||||
}
|
||||
for _, evt := range req.InitialState {
|
||||
cli.updateStoreWithOutgoingEvent(ctx, resp.RoomID, evt.Type, evt.GetStateKey(), &evt.Content)
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue