element-call
element-call copied to clipboard
Expired memberships counted for purposes of getting active focus
Steps to reproduce
We seem to count expired memberships for the purpose of determining the active focus. We should filter them before this point.
Outcome
What did you expect?
What happened instead?
Operating system
No response
Browser information
No response
URL for webapp
No response
Will you send logs?
No
Looks like it really just didn't think the event was expired. Looking at the event, its age for me was 116 (ms) which must be wrong as the origin ts of the event is 3 days ago. This would suggest a bug with event ages either in synapse or js-sdk's indexeddb sync storage.
This also causes calls to be shown in rooms where there is an expired non empty mebership array.