We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
try_decrypt_event
1 parent 55342a8 commit 4c8e2fdCopy full SHA for 4c8e2fd
crates/matrix-sdk/src/room/mod.rs
@@ -361,23 +361,12 @@ impl Room {
361
)
362
.await;
363
364
- let mut response = Messages {
+ Ok(Messages {
365
start: http_response.start,
366
end: http_response.end,
367
chunk,
368
state: http_response.state,
369
- };
370
-
371
- if let Some(push_context) = self.push_condition_room_ctx().await? {
372
- let push_rules = self.client().account().push_rules().await?;
373
374
- for event in &mut response.chunk {
375
- event.push_actions =
376
- Some(push_rules.get_actions(event.raw(), &push_context).to_owned());
377
- }
378
379
380
- Ok(response)
+ })
381
}
382
383
/// Register a handler for events of a specific type, within this room.
0 commit comments