This commit is contained in:
parent
0c0aa6e807
commit
1ba84dcefc
@ -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())
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user