diff --git a/client/peer.go b/client/peer.go index d9e951b..ad2b92e 100644 --- a/client/peer.go +++ b/client/peer.go @@ -295,7 +295,7 @@ func (p *Peer) UpdateMessage(msg InternalUserMessage) error { return nil } -func (p *Peer) LoadLastMessages(alreadyLoadedCount int, oldestMessageId int, qty int) ([]InternalUserMessage, error) { +func (p *Peer) LoadMessagesHistory(alreadyLoadedCount int, oldestMessageId int, qty int) ([]InternalUserMessage, error) { return GetMessagesHistory(p, alreadyLoadedCount, oldestMessageId, 1, p.GetDbPassword()) }