Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 70c0626882 | |||
| 5570181bf8 | |||
| 7088ff89b5 | |||
| 3f36528a98 |
@@ -9,7 +9,7 @@ name = "matrix-sdk-base"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
rust-version = "1.60"
|
||||
version = "0.5.0"
|
||||
version = "0.5.1"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to this crate will be documented in this file.
|
||||
|
||||
## 0.5.1
|
||||
|
||||
### Bug Fixes
|
||||
- #664: Fix regression with push rules being applied to the own user_id only instead of all but the own user_id
|
||||
|
||||
## 0.5.0
|
||||
@@ -376,7 +376,7 @@ impl BaseClient {
|
||||
if event
|
||||
.event
|
||||
.get_field::<OwnedUserId>("sender")?
|
||||
.map_or(false, |id| id == user_id)
|
||||
.map_or(false, |id| id != user_id)
|
||||
{
|
||||
let actions = push_rules.get_actions(&event.event, context).to_vec();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user