mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-16 03:55:42 -04:00
sdk: Remove questionable use of assign! macro
This commit is contained in:
committed by
Jonas Platte
parent
206accb5fb
commit
afeb5dab24
@@ -783,10 +783,8 @@ impl StickyData for SlidingSyncStickyParameters {
|
||||
type Request = v4::Request;
|
||||
|
||||
fn apply(&self, request: &mut Self::Request) {
|
||||
assign!(request, {
|
||||
room_subscriptions: self.room_subscriptions.clone(),
|
||||
extensions: self.extensions.clone(),
|
||||
});
|
||||
request.room_subscriptions = self.room_subscriptions.clone();
|
||||
request.extensions = self.extensions.clone();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user