mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Modify test_user_sync so it doesn't look at last_active_ts over last_user_sync_ts
This commit is contained in:
parent
e6032054bf
commit
c144292373
@ -324,7 +324,7 @@ class PresenceTimeoutTestCase(unittest.TestCase):
|
||||
state = UserPresenceState.default(user_id)
|
||||
state = state.copy_and_replace(
|
||||
state=PresenceState.ONLINE,
|
||||
last_active_ts=now,
|
||||
last_active_ts=0,
|
||||
last_user_sync_ts=now - SYNC_ONLINE_TIMEOUT - 1,
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user