Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Implement a patch #142

Merged
merged 1 commit into from
May 14, 2023
Merged

Implement a patch #142

merged 1 commit into from
May 14, 2023

Conversation

Bloctans
Copy link
Member

@Bloctans Bloctans commented May 8, 2023

This fixes an issue with deleting posts

due to an oversight the original code would return the function before executing the event
lines in question:
if (!cmd.val.post_id) return;
if (cmd.val.post_origin !== postOrigin) return;

fixed by moving the delete event to ontop of the first if statement and removing " if (!cmd.val.post_id) return;" as it was most likely for debugging purposes

Copy link
Member

@tnix100 tnix100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@showierdata9978
Copy link
Member

merge?

Copy link
Member

@showierdata9978 showierdata9978 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tnix100 tnix100 merged commit af6ee2b into develop May 14, 2023
@tnix100 tnix100 deleted the Patch-For-Delete-Event branch May 14, 2023 03:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[all | >1.5] Deleting messages in inbox do not update
5 participants