diff options
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). |