mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-24 10:25:51 +03:00
Merge branch 'feature/fix_notif' into develop
This commit is contained in:
commit
01a7ea0bd7
1 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@ internal object PushRulesMapper {
|
||||||
enabled = pushrule.enabled,
|
enabled = pushrule.enabled,
|
||||||
ruleId = pushrule.ruleId,
|
ruleId = pushrule.ruleId,
|
||||||
conditions = listOf(
|
conditions = listOf(
|
||||||
PushCondition(Condition.Kind.EventMatch.name, "content.body", pushrule.pattern)
|
PushCondition(Condition.Kind.EventMatch.value, "content.body", pushrule.pattern)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,7 @@ internal object PushRulesMapper {
|
||||||
enabled = pushrule.enabled,
|
enabled = pushrule.enabled,
|
||||||
ruleId = pushrule.ruleId,
|
ruleId = pushrule.ruleId,
|
||||||
conditions = listOf(
|
conditions = listOf(
|
||||||
PushCondition(Condition.Kind.EventMatch.name, "room_id", pushrule.ruleId)
|
PushCondition(Condition.Kind.EventMatch.value, "room_id", pushrule.ruleId)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ internal object PushRulesMapper {
|
||||||
enabled = pushrule.enabled,
|
enabled = pushrule.enabled,
|
||||||
ruleId = pushrule.ruleId,
|
ruleId = pushrule.ruleId,
|
||||||
conditions = listOf(
|
conditions = listOf(
|
||||||
PushCondition(Condition.Kind.EventMatch.name, "user_id", pushrule.ruleId)
|
PushCondition(Condition.Kind.EventMatch.value, "user_id", pushrule.ruleId)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue