Skip to content

Commit f0a32bf

Browse files
committed
Use postcontent push rule kind
1 parent c05b485 commit f0a32bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proposals/4306-thread-subscriptions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ As motivation, we want threads to have the following notification semantics:
176176
- Exceptions: if the user is mentioned, this should generate a notification as usual. (The push notification thus generated is also useful for the client to realise it needs to create an automatic thread subscription.)
177177
- Messages in subscribed threads should always count as a notification, and the (effective) room notification settings should not matter at all. E.g. the room can be muted, but if I, as a user, am subscribed to a thread, I still want to get a notification for new messages in that thread. If I do not want that, then I will unsubscribe.
178178

179-
To achieve this, we propose the addition of two new push rules:
179+
To achieve this, we propose the addition of two new push rules, both added to a new push rule `kind` called `postcontent`, which is ordered between `content` and `room` but can contain general-purpose rules:
180180

181-
1. an `underride` push rule, called `.m.rule.unsubscribed_thread`, at the beginning of the underride list. This rule causes events in unsubscribed threads to skip notification processing without generating a notification.
181+
1. `.m.rule.unsubscribed_thread`, at the beginning of the underride list. This rule causes events in unsubscribed threads to skip notification processing without generating a notification.
182182
The rule occurs after mention-specific rules and keyword mention rules, meaning that mentions continue to generate notifications.
183183
```jsonc
184184
{
@@ -194,7 +194,7 @@ To achieve this, we propose the addition of two new push rules:
194194
"actions": []
195195
}
196196
```
197-
2. an `underride` push rule, called `.m.rule.subscribed_thread`, at the beginning of the underride list (following `.m.rule.unsubscribed_thread`). This rule causes events in subscribed threads to generate notifications.
197+
2. `.m.rule.subscribed_thread`, at the beginning of the underride list (following `.m.rule.unsubscribed_thread`). This rule causes events in subscribed threads to generate notifications.
198198
```jsonc
199199
{
200200
"rule_id": ".m.rule.subscribed_thread",

0 commit comments

Comments
 (0)