4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-09-11 01:52:30 +00:00

Update vendor github.com/matrix-org/gomatrix

This commit is contained in:
Wim
2017-11-21 23:48:39 +01:00
parent cd4c9b194f
commit 71cb9b2d1d
8 changed files with 213 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ func (room Room) UpdateState(event *Event) {
if !exists {
room.State[event.Type] = make(map[string]*Event)
}
room.State[event.Type][event.StateKey] = event
room.State[event.Type][*event.StateKey] = event
}
// GetStateEvent returns the state event for the given type/state_key combo, or nil.