Remove unused logPath method

This commit is contained in:
Tulir Asokan 2021-08-02 21:46:00 +03:00
parent 8ad2aa4e1a
commit e17822e2f7

View File

@ -18,7 +18,6 @@ package ui
import ( import (
"fmt" "fmt"
"path/filepath"
"sort" "sort"
"strings" "strings"
"time" "time"
@ -138,10 +137,6 @@ func NewRoomView(parent *MainView, room *rooms.Room) *RoomView {
return view 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 { func (view *RoomView) SetInputChangedFunc(fn func(room *RoomView, text string)) *RoomView {
view.input.SetChangedFunc(func(text string) { view.input.SetChangedFunc(func(text string) {
fn(view, text) fn(view, text)