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()) }