diff --git a/src/api/posts.js b/src/api/posts.js index edd8f1dc11..603e3bf2aa 100644 --- a/src/api/posts.js +++ b/src/api/posts.js @@ -290,7 +290,7 @@ postsAPI.move = async function (caller, data) { ]); if (!postDeleted && !topicDeleted) { - socketHelpers.sendNotificationToPostOwner(data.pid, caller.uid, 'move', 'notifications:moved_your_post'); + socketHelpers.sendNotificationToPostOwner(data.pid, caller.uid, 'move', 'notifications:moved-your-post'); } }; diff --git a/src/socket.io/topics/move.js b/src/socket.io/topics/move.js index e7a164594c..6c03412cc2 100644 --- a/src/socket.io/topics/move.js +++ b/src/socket.io/topics/move.js @@ -36,7 +36,7 @@ module.exports = function (SocketTopics) { const notifyUids = await privileges.categories.filterUids('topics:read', topicData.cid, uids); socketHelpers.emitToUids('event:topic_moved', topicData, notifyUids); if (!topicData.deleted) { - socketHelpers.sendNotificationToTopicOwner(tid, socket.uid, 'move', 'notifications:moved_your_topic'); + socketHelpers.sendNotificationToTopicOwner(tid, socket.uid, 'move', 'notifications:moved-your-topic'); } await events.log({