aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-03-20 23:31:04 +0200
committerTulir Asokan <tulir@maunium.net>2018-03-20 23:31:04 +0200
commit85f289c98d0ebdecb7e504eb8d40b5413be5fc92 (patch)
treeda786ad58f42b2bf2ff484b663496413112ef0af /ui
parent1e52d5708d5ff407b28539b346f1c9580dae45e8 (diff)
Rename UpdateLogs back to LoadHistory
Diffstat (limited to 'ui')
-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]