aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/view-main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/view-main.go b/ui/view-main.go
index 01ea7a1..e694d9c 100644
--- a/ui/view-main.go
+++ b/ui/view-main.go
@@ -338,14 +338,14 @@ func (view *MainView) AddServiceMessage(room, message string) {
}
func (view *MainView) LoadMoreHistory(room string) {
- view.UpdateLogs(room, false)
+ view.LoadHistory(room, false)
}
func (view *MainView) LoadInitialHistory(room string) {
- view.UpdateLogs(room, true)
+ view.LoadHistory(room, true)
}
-func (view *MainView) UpdateLogs(room string, initial bool) {
+func (view *MainView) LoadHistory(room string, initial bool) {
defer view.gmx.Recover()
roomView := view.rooms[room]