mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-01 13:52:46 +00:00
Reject instead of soft-fail, don't copy roominfo so much
This commit is contained in:
parent
eff348bb69
commit
af34b4abe3
9 changed files with 22 additions and 23 deletions
|
@ -32,11 +32,11 @@ import (
|
|||
|
||||
type StateResolution struct {
|
||||
db storage.Database
|
||||
roomInfo types.RoomInfo
|
||||
roomInfo *types.RoomInfo
|
||||
events map[types.EventNID]*gomatrixserverlib.Event
|
||||
}
|
||||
|
||||
func NewStateResolution(db storage.Database, roomInfo types.RoomInfo) StateResolution {
|
||||
func NewStateResolution(db storage.Database, roomInfo *types.RoomInfo) StateResolution {
|
||||
return StateResolution{
|
||||
db: db,
|
||||
roomInfo: roomInfo,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue