element-hq / element-x-ios

Next generation Matrix client for iOS built with SwiftUI on top of matrix-rust-sdk.
https://element.io/labs/element-x
GNU Affero General Public License v3.0
399 stars 87 forks source link

sss: old invites keep rising to the top #3198

Closed ara4n closed 4 days ago

ara4n commented 3 weeks ago

Steps to reproduce

  1. open app
  2. stale spammy invites from months ago are shown in the first 20 odd rooms in the room list
  3. be confused

Outcome

What did you expect?

i expected invites to appear sorted by time they were received in the room list

What happened instead?

something keeps bumping them towards the top. perhaps if there’s activity in the underlying room, the invite is ordered based on that activity rather than the timestamp when the invite was issued? (or perhaps somebody is reissuing spam invites to these rooms)?

Your phone model

No response

Operating system version

No response

Application version

686

Homeserver

No response

Will you send logs?

No

ara4n commented 3 weeks ago

(similar but different to https://github.com/element-hq/element-x-ios/issues/3096 ftr)

stefanceriu commented 1 week ago

@ara4n Haven't seen this in a while, have you?

ara4n commented 1 week ago

i have it constantly. abusive invites which sit at the top of my todo list thanks to the invited room being active in the bg.

manuroe commented 1 week ago

@ara4n can you share a rageshake with room ids for invites. It will help us to debug the issue that may be in Synapse. @erikjohnston will have a look.

ara4n commented 1 week ago

done - see rageshake.

ara4n commented 1 week ago

should be fixed by https://github.com/element-hq/synapse/pull/17674