From 4e16c4fc488309b235f4434280d22c679e66fb3c Mon Sep 17 00:00:00 2001 From: Darshil Patel <55157259+Darshilp326@users.noreply.github.com> Date: Tue, 19 Jan 2021 22:58:30 +0530 Subject: [PATCH] [FIX] Added success message on saving notification preference (#20220) --- .../NotificationPreferences/NotificationPreferences.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/views/room/contextualBar/NotificationPreferences/NotificationPreferences.js b/client/views/room/contextualBar/NotificationPreferences/NotificationPreferences.js index 71de0fae895..fa05f15779b 100644 --- a/client/views/room/contextualBar/NotificationPreferences/NotificationPreferences.js +++ b/client/views/room/contextualBar/NotificationPreferences/NotificationPreferences.js @@ -69,7 +69,7 @@ export default React.memo(({ tabBar, rid }) => { const customSound = useCustomSound(); const handleClose = useMutableCallback(() => tabBar && tabBar.close()); - const saveSettings = useEndpointActionExperimental('POST', 'rooms.saveNotification'); + const saveSettings = useEndpointActionExperimental('POST', 'rooms.saveNotification', t('Room_updated_successfully')); const { values, handlers, hasUnsavedChanges, commit, reset } = useForm( {