diff options
author | Wim <wim@42.be> | 2017-11-21 23:48:39 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2017-11-21 23:48:39 +0100 |
commit | 71cb9b2d1dd96b309134187cd38155c22f086060 (patch) | |
tree | 2cc3f7404e0f51e4aaab37d536acefcc4a805868 /vendor/github.com/matrix-org/gomatrix/room.go | |
parent | cd4c9b194fe486bcea08c1b9166e1ac22508ab00 (diff) | |
download | matterbridge-msglm-71cb9b2d1dd96b309134187cd38155c22f086060.tar.gz matterbridge-msglm-71cb9b2d1dd96b309134187cd38155c22f086060.tar.bz2 matterbridge-msglm-71cb9b2d1dd96b309134187cd38155c22f086060.zip |
Update vendor github.com/matrix-org/gomatrix
Diffstat (limited to 'vendor/github.com/matrix-org/gomatrix/room.go')
-rw-r--r-- | vendor/github.com/matrix-org/gomatrix/room.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/matrix-org/gomatrix/room.go b/vendor/github.com/matrix-org/gomatrix/room.go index 0533b3e7..c9b2351f 100644 --- a/vendor/github.com/matrix-org/gomatrix/room.go +++ b/vendor/github.com/matrix-org/gomatrix/room.go @@ -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. |