Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: resetting the timeline when an ignore user list event is received #1705

Merged
merged 12 commits into from
Mar 30, 2023

Conversation

Velin92
Copy link
Contributor

@Velin92 Velin92 commented Mar 24, 2023

This will require also a restart of SS and the cache to be cleaned, which @Hywan is working on separately, otherwise in offline cases the cold cache could restore the old messages.

bindings/matrix-sdk-ffi/src/sliding_sync.rs Outdated Show resolved Hide resolved
crates/matrix-sdk-base/src/client.rs Outdated Show resolved Hide resolved
bindings/matrix-sdk-ffi/src/sliding_sync.rs Outdated Show resolved Hide resolved
bindings/matrix-sdk-ffi/src/sliding_sync.rs Outdated Show resolved Hide resolved
bindings/matrix-sdk-ffi/src/sliding_sync.rs Outdated Show resolved Hide resolved
crates/matrix-sdk-base/Cargo.toml Outdated Show resolved Hide resolved
crates/matrix-sdk-base/src/client.rs Show resolved Hide resolved
Co-authored-by: Jonas Platte <jplatte@matrix.org>
@Velin92 Velin92 marked this pull request as ready for review March 27, 2023 11:15
Copy link
Collaborator

@jplatte jplatte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two more nitpicks, otherwise looks good!

crates/matrix-sdk-base/src/client.rs Outdated Show resolved Hide resolved
crates/matrix-sdk/src/client/mod.rs Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Mar 27, 2023

Codecov Report

Patch coverage: 42.85% and project coverage change: -0.02 ⚠️

Comparison is base (6b5f0b8) 76.13% compared to head (ecff64b) 76.12%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1705      +/-   ##
==========================================
- Coverage   76.13%   76.12%   -0.02%     
==========================================
  Files         137      137              
  Lines       15234    15241       +7     
==========================================
+ Hits        11599    11602       +3     
- Misses       3635     3639       +4     
Impacted Files Coverage Δ
crates/matrix-sdk/src/client/mod.rs 86.87% <0.00%> (-0.37%) ⬇️
crates/matrix-sdk-base/src/client.rs 87.08% <60.00%> (-0.29%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

# Conflicts:
#	bindings/matrix-sdk-ffi/src/sliding_sync.rs
#	crates/matrix-sdk-base/src/client.rs
#	crates/matrix-sdk/src/client/mod.rs
@Velin92 Velin92 requested a review from jplatte March 29, 2023 19:52
@Velin92
Copy link
Contributor Author

Velin92 commented Mar 29, 2023

I see that some changes have been made on how we handle the reception of the tasks, so I aligned my branch to these changes, let me know if they work for you @jplatte

@jplatte jplatte enabled auto-merge (squash) March 30, 2023 11:15
@jplatte jplatte merged commit ca6faff into main Mar 30, 2023
@jplatte jplatte deleted the mauroromito/sync_after_ignore_user_list_events branch March 30, 2023 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants