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:
parent
1870f560a4
commit
e20f044001
|
@ -1235,8 +1235,8 @@ class Logger:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Add 10 seconds around the timestamp
|
# Add 10 seconds around the timestamp
|
||||||
start_time = timestamp - 10
|
start_time = timestamp - 30
|
||||||
end_time = timestamp + 10
|
end_time = timestamp + 30
|
||||||
|
|
||||||
account_id = self.get_account_id(account)
|
account_id = self.get_account_id(account)
|
||||||
log.debug('start: %s, end: %s, jid: %s, message: %s',
|
log.debug('start: %s, end: %s, jid: %s, message: %s',
|
||||||
|
|
Loading…
Reference in New Issue