Rename UpdateLogs back to LoadHistory

This commit is contained in:
Tulir Asokan 2018-03-20 23:31:04 +02:00
parent 1e52d5708d
commit 85f289c98d

View File

@ -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]