Rename UpdateLogs back to LoadHistory
This commit is contained in:
parent
1e52d5708d
commit
85f289c98d
@ -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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user