From aa63bb745f4e7b912c4acb79bc566d884fe7d82f Mon Sep 17 00:00:00 2001 From: ycc Date: Thu, 29 Feb 2024 21:14:46 +0100 Subject: [PATCH] refactor --- client/peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) }