Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.
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
8 changes: 4 additions & 4 deletions api/routes/api/email.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ emailRouter.get('/unsubscribe', (req, res) => {
res
.status(200)
.send(
'You will no longer recieve new thread emails from this channel.'
'You will no longer receive new thread emails from this channel.'
)
);
case 'muteCommunity':
Expand All @@ -87,7 +87,7 @@ emailRouter.get('/unsubscribe', (req, res) => {
res
.status(200)
.send(
'You will no longer recieve new thread emails from this community.'
'You will no longer receive new thread emails from this community.'
)
);
case 'muteThread':
Expand All @@ -99,7 +99,7 @@ emailRouter.get('/unsubscribe', (req, res) => {
res
.status(200)
.send(
'You will no longer recieve emails about new messages in this thread.'
'You will no longer receive emails about new messages in this thread.'
)
);
case 'muteDirectMessageThread':
Expand All @@ -111,7 +111,7 @@ emailRouter.get('/unsubscribe', (req, res) => {
res
.status(200)
.send(
'You will no longer recieve emails about new messages in this direct message conversation.'
'You will no longer receive emails about new messages in this direct message conversation.'
)
);
default: {
Expand Down
2 changes: 1 addition & 1 deletion athena/queues/reaction-notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default async (job: Job<ReactionNotificationJobData>) => {

debug('mark notification as new for sender');

// if the user is allowed to recieve notifications, update their notification
// if the user is allowed to receive notifications, update their notification
return Promise.all([
markUsersNotificationsAsNew(updatedNotification.id, message.senderId),
]).catch(err => {
Expand Down
2 changes: 1 addition & 1 deletion athena/queues/thread-reaction-notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default async (job: Job<ThreadReactionNotificationJobData>) => {

debug('mark notification as new for sender');

// if the user is allowed to recieve notifications, update their notification
// if the user is allowed to receive notifications, update their notification
return Promise.all([
markUsersNotificationsAsNew(updatedNotification.id, thread.creatorId),
]).catch(err => {
Expand Down
2 changes: 1 addition & 1 deletion src/views/navbar/components/notificationsTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ class NotificationsTab extends React.Component<Props, State> {
// and we want to mark notifications as read as they view threads
// if we do not pass in notifications from the state when this method is
// invoked, it is because the incoming props have changed from the server
// i.e. a new notification was recieved, so we should therefore run
// i.e. a new notification was received, so we should therefore run
// the rest of this method on the incoming notifications data
const nodes = stateNotifications
? stateNotifications
Expand Down