Increase timeframe for duplicate search

A too short timeframe leads to not recognizing duplicates if the server
time differs from the user time. This is only a problem with mam:1

Fixes #8750
This commit is contained in:
Philipp Hörist 2018-06-19 19:05:03 +02:00
parent 1870f560a4
commit e20f044001
1 changed files with 2 additions and 2 deletions

View File

@ -1235,8 +1235,8 @@ class Logger:
"""
# Add 10 seconds around the timestamp
start_time = timestamp - 10
end_time = timestamp + 10
start_time = timestamp - 30
end_time = timestamp + 30
account_id = self.get_account_id(account)
log.debug('start: %s, end: %s, jid: %s, message: %s',