mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-06-21 22:58:32 -04:00
chore(sdk): Change visibility of SlidingSyncList::invalidate_sticky_data.
This patch changes the visibility of `SlidingSyncList::invalidate_sticky_data` from `pub` to `pub(super)`. This is the only place where it must be accessible from.
This commit is contained in:
@@ -184,7 +184,7 @@ impl SlidingSyncList {
|
||||
|
||||
/// Manually invalidate the sticky data, so the sticky parameters are
|
||||
/// re-sent next time.
|
||||
pub fn invalidate_sticky_data(&self) {
|
||||
pub(super) fn invalidate_sticky_data(&self) {
|
||||
let _ = self.inner.sticky.write().unwrap().data_mut();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user