summaryrefslogtreecommitdiff
path: root/ui/buffers.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtz.pm>2021-09-03 11:22:04 +0200
committerHubert Hirtz <hubert@hirtz.pm>2021-09-03 11:22:04 +0200
commitdc01205670a6e5dd5eee54b3e3fd07534926f984 (patch)
tree7f42918d453e9e21f3183c99d0c9f9cfaa0a7b65 /ui/buffers.go
parentDon't show the member list by default (diff)
Use messageBounds for infinite scroll CHATHISTORY requests
Diffstat (limited to 'ui/buffers.go')
-rw-r--r--ui/buffers.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/ui/buffers.go b/ui/buffers.go
index b2f0930..4ea2293 100644
--- a/ui/buffers.go
+++ b/ui/buffers.go
@@ -319,14 +319,6 @@ func (bs *BufferList) Current() (title string) {
return bs.list[bs.current].title
}
-func (bs *BufferList) CurrentOldestTime() (t *time.Time) {
- ls := bs.list[bs.current].lines
- if 0 < len(ls) {
- t = &ls[0].At
- }
- return t
-}
-
func (bs *BufferList) ScrollUp(n int) {
b := &bs.list[bs.current]
if b.isAtTop {