From e17822e2f736f339e13680c10caf441fff229230 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 2 Aug 2021 21:46:00 +0300 Subject: [PATCH] Remove unused logPath method --- ui/room-view.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ui/room-view.go b/ui/room-view.go index 5978ac3..2cf856e 100644 --- a/ui/room-view.go +++ b/ui/room-view.go @@ -18,7 +18,6 @@ package ui import ( "fmt" - "path/filepath" "sort" "strings" "time" @@ -138,10 +137,6 @@ func NewRoomView(parent *MainView, room *rooms.Room) *RoomView { return view } -func (view *RoomView) logPath(dir string) string { - return filepath.Join(dir, fmt.Sprintf("%s.gmxlog", view.Room.ID)) -} - func (view *RoomView) SetInputChangedFunc(fn func(room *RoomView, text string)) *RoomView { view.input.SetChangedFunc(func(text string) { fn(view, text)