diff options
author | Tulir Asokan <tulir@maunium.net> | 2020-04-16 19:27:35 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2020-04-19 15:01:16 +0300 |
commit | 815190be147e575f12211c468f8121e5c60e6337 (patch) | |
tree | 8abd9b3d3952dbf767ca369ddad400db8a6f2d45 /ui/fuzzy-search-modal.go | |
parent | ff20c2c44f86b40f9214f1dc3d339584e48374f1 (diff) |
Update stuff and move pushrules to mautrix-go
Diffstat (limited to 'ui/fuzzy-search-modal.go')
-rw-r--r-- | ui/fuzzy-search-modal.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/fuzzy-search-modal.go b/ui/fuzzy-search-modal.go index 9f91877..bf9004b 100644 --- a/ui/fuzzy-search-modal.go +++ b/ui/fuzzy-search-modal.go @@ -23,6 +23,7 @@ import ( "github.com/lithammer/fuzzysearch/fuzzy" + "maunium.net/go/mautrix/id" "maunium.net/go/mauview" "maunium.net/go/tcell" @@ -87,7 +88,7 @@ func (fs *FuzzySearchModal) Blur() { fs.container.Blur() } -func (fs *FuzzySearchModal) InitList(rooms map[string]*RoomView) { +func (fs *FuzzySearchModal) InitList(rooms map[id.RoomID]*RoomView) { for _, room := range rooms { if room.Room.IsReplaced() { //if _, ok := rooms[room.Room.ReplacedBy()]; ok |