forked from MirrorHub/mautrix-whatsapp
Only load 50 messages per request in initial fill
This commit is contained in:
parent
dce08b1422
commit
1c009b96fe
1 changed files with 1 additions and 1 deletions
|
@ -565,7 +565,7 @@ func (portal *Portal) FillInitialHistory(user *User) error {
|
||||||
fromMe := true
|
fromMe := true
|
||||||
chunkNum := 1
|
chunkNum := 1
|
||||||
for n > 0 {
|
for n > 0 {
|
||||||
count := 100
|
count := 50
|
||||||
if n < count {
|
if n < count {
|
||||||
count = n
|
count = n
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue