From 1ba84dcefc9d22b162d27fea889d87d6149d8488 Mon Sep 17 00:00:00 2001 From: ycc Date: Sat, 2 Mar 2024 14:10:16 +0100 Subject: [PATCH] bugfix --- client/peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/peer.go b/client/peer.go index ad2b92e..b310952 100644 --- a/client/peer.go +++ b/client/peer.go @@ -296,7 +296,7 @@ func (p *Peer) UpdateMessage(msg InternalUserMessage) error { } func (p *Peer) LoadMessagesHistory(alreadyLoadedCount int, oldestMessageId int, qty int) ([]InternalUserMessage, error) { - return GetMessagesHistory(p, alreadyLoadedCount, oldestMessageId, 1, p.GetDbPassword()) + return GetMessagesHistory(p, alreadyLoadedCount, oldestMessageId, qty, p.GetDbPassword()) }