Skip to content

Commit

Permalink
add comment on why we could delete the commented code on post_actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovgodd committed Aug 7, 2024
1 parent d488f2f commit a4ffc84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webapp/channels/src/actions/post_actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export function handleNewPost(post: Post, msg?: {data?: NewPostMessageProps & Gr
return async (dispatch) => {
let websocketMessageProps = {};

//!824 Infomaniak > The code is commented out below because it seems redundant with what loadNewDMIfNeeded and loadNewGMIfNeeded do, they already seem to integrate the necessary checks and updates to handle messaging channels and user preferences.
// const state = getState();
if (msg) {
websocketMessageProps = msg.data!;
Expand Down

0 comments on commit a4ffc84

Please sign in to comment.