Compare commits

...

4 Commits

Author SHA1 Message Date
Benjamin Kampmann 70c0626882 chore: tag base 0.5.1 2022-05-11 19:01:12 +02:00
Benjamin Kampmann 5570181bf8 fix(sdk): Fix regression with push rules being applied to the own user_id only instead of all but the own user_id
Merge pull request #664 from JCWasmx86/ignore_notification
2022-05-11 18:52:55 +02:00
Benjamin Kampmann 7088ff89b5 Merge pull request #665 from matrix-org/ben-releasing-0.5.0
Releasing 0.5.0
2022-05-11 18:50:34 +02:00
JCWasmx86 3f36528a98 fix(sdk): Fix regression 2022-05-11 18:15:33 +02:00
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -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
+10
View File
@@ -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
+1 -1
View File
@@ -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();