Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/five-planes-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/meteor': patch
---

Changes the default value for preference `Receive login detection emails` to true, to comply with existing behavior.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const useAccountPreferencesValues = (): AccountPreferencesData => {
const desktopNotifications = useUserPreference<string>('desktopNotifications');
const pushNotifications = useUserPreference<string>('pushNotifications');
const emailNotificationMode = useUserPreference<string>('emailNotificationMode');
const receiveLoginDetectionEmail = useUserPreference<boolean>('receiveLoginDetectionEmail');
const receiveLoginDetectionEmail = useUserPreference<boolean>('receiveLoginDetectionEmail', true);
const notifyCalendarEvents = useUserPreference<boolean>('notifyCalendarEvents');
const enableMobileRinging = useUserPreference<boolean>('enableMobileRinging');

Expand Down
Loading