Remove unused logPath method
This commit is contained in:
parent
8ad2aa4e1a
commit
e17822e2f7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user