bugfix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ycc 2024-03-02 14:10:16 +01:00
parent 0c0aa6e807
commit 1ba84dcefc

View File

@ -296,7 +296,7 @@ func (p *Peer) UpdateMessage(msg InternalUserMessage) error {
} }
func (p *Peer) LoadMessagesHistory(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()) return GetMessagesHistory(p, alreadyLoadedCount, oldestMessageId, qty, p.GetDbPassword())
} }