It's quite important that get_missing_events returns the *latest* events in the room; however we were pulling event ids out of the database until we got *at least* 10, and then taking the *earliest* of the results. We also shouldn't really be relying on depth, and should be checking the room_id. |
||
|---|---|---|
| .. | ||
| engines | ||
| schema | ||
| util | ||
| __init__.py | ||
| _base.py | ||
| account_data.py | ||
| appservice.py | ||
| background_updates.py | ||
| client_ips.py | ||
| deviceinbox.py | ||
| devices.py | ||
| directory.py | ||
| e2e_room_keys.py | ||
| end_to_end_keys.py | ||
| event_federation.py | ||
| event_push_actions.py | ||
| events.py | ||
| events_worker.py | ||
| filtering.py | ||
| group_server.py | ||
| keys.py | ||
| media_repository.py | ||
| monthly_active_users.py | ||
| openid.py | ||
| prepare_database.py | ||
| presence.py | ||
| profile.py | ||
| push_rule.py | ||
| pusher.py | ||
| receipts.py | ||
| registration.py | ||
| rejections.py | ||
| room.py | ||
| roommember.py | ||
| search.py | ||
| signatures.py | ||
| state.py | ||
| stream.py | ||
| tags.py | ||
| transactions.py | ||
| user_directory.py | ||
| user_erasure_store.py | ||