Discord: default reaction notifications to own
This commit is contained in:
@@ -203,7 +203,7 @@ export function applyConfigSnapshot(state: ConfigState, snapshot: ConfigSnapshot
|
||||
entry.reactionNotifications === "own" ||
|
||||
entry.reactionNotifications === "allowlist"
|
||||
? entry.reactionNotifications
|
||||
: "allowlist",
|
||||
: "own",
|
||||
users: toList(entry.users),
|
||||
channels,
|
||||
};
|
||||
|
||||
@@ -654,7 +654,7 @@ function renderProvider(
|
||||
next[guildIndex] = {
|
||||
...next[guildIndex],
|
||||
reactionNotifications: (e.target as HTMLSelectElement)
|
||||
.value as "off" | "own" | "all",
|
||||
.value as "off" | "own" | "all" | "allowlist",
|
||||
};
|
||||
props.onDiscordChange({ guilds: next });
|
||||
}}
|
||||
@@ -832,7 +832,7 @@ function renderProvider(
|
||||
key: "",
|
||||
slug: "",
|
||||
requireMention: false,
|
||||
reactionNotifications: "allowlist",
|
||||
reactionNotifications: "own",
|
||||
users: "",
|
||||
channels: [],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user