mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-23 20:49:26 +01:00
Merge branch 'group-notif' into 'main'
Add Group Notifications Closes #1175 See merge request famedly/fluffychat!1116
This commit is contained in:
commit
dfacbf9e32
@ -711,6 +711,16 @@
|
|||||||
"type": "text",
|
"type": "text",
|
||||||
"placeholders": {}
|
"placeholders": {}
|
||||||
},
|
},
|
||||||
|
"allRooms": "All Group Chats",
|
||||||
|
"@allRooms": {
|
||||||
|
"type": "text",
|
||||||
|
"placeholders": {}
|
||||||
|
},
|
||||||
|
"discover": "Discover",
|
||||||
|
"@discover": {
|
||||||
|
"type": "text",
|
||||||
|
"placeholders": {}
|
||||||
|
},
|
||||||
"displaynameHasBeenChanged": "Displayname has been changed",
|
"displaynameHasBeenChanged": "Displayname has been changed",
|
||||||
"@displaynameHasBeenChanged": {
|
"@displaynameHasBeenChanged": {
|
||||||
"type": "text",
|
"type": "text",
|
||||||
|
@ -15,6 +15,12 @@ class NotificationSettingsItem {
|
|||||||
final String Function(BuildContext) title;
|
final String Function(BuildContext) title;
|
||||||
const NotificationSettingsItem(this.type, this.key, this.title);
|
const NotificationSettingsItem(this.type, this.key, this.title);
|
||||||
static List<NotificationSettingsItem> items = [
|
static List<NotificationSettingsItem> items = [
|
||||||
|
NotificationSettingsItem(
|
||||||
|
PushRuleKind.underride,
|
||||||
|
'.m.rule.message',
|
||||||
|
(c) => L10n.of(c)!.allRooms,
|
||||||
|
),
|
||||||
|
|
||||||
NotificationSettingsItem(
|
NotificationSettingsItem(
|
||||||
PushRuleKind.underride,
|
PushRuleKind.underride,
|
||||||
'.m.rule.room_one_to_one',
|
'.m.rule.room_one_to_one',
|
||||||
|
Loading…
Reference in New Issue
Block a user