element-call icon indicating copy to clipboard operation
element-call copied to clipboard

Expired memberships counted for purposes of getting active focus

Open dbkr opened this issue 2 years ago • 2 comments

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

dbkr avatar Oct 19 '23 14:10 dbkr

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.

dbkr avatar Oct 19 '23 18:10 dbkr

This also causes calls to be shown in rooms where there is an expired non empty mebership array.

toger5 avatar Oct 31 '23 13:10 toger5