diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-04-22 21:05:42 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-04-22 21:05:42 +0300 |
commit | bfb5f0dd457be326b1ae7638a64d2e79cbace371 (patch) | |
tree | 32c6af4204600e160d22751f047bf192d72ad069 /ui/view-main.go | |
parent | 9c4788f6e2706fe7bb038b845c0973031a26a6e9 (diff) |
Add room alias autocompletion
Diffstat (limited to 'ui/view-main.go')
-rw-r--r-- | ui/view-main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/view-main.go b/ui/view-main.go index 0b0708c..ba98719 100644 --- a/ui/view-main.go +++ b/ui/view-main.go @@ -299,7 +299,7 @@ func (view *MainView) addRoom(index int, room string) { view.roomList.Add(roomStore) if !view.roomView.HasPage(room) { - roomView := NewRoomView(roomStore). + roomView := NewRoomView(view, roomStore). SetInputSubmitFunc(view.InputSubmit). SetInputChangedFunc(view.InputChanged). SetInputCapture(view.KeyEventHandler). |