Page MenuHomePhabricator

D9237.diff
No OneTemporary

D9237.diff

diff --git a/lib/shared/thread-utils.js b/lib/shared/thread-utils.js
--- a/lib/shared/thread-utils.js
+++ b/lib/shared/thread-utils.js
@@ -1258,6 +1258,17 @@
return false;
}
+ const { type } = messageInfo;
+ if (
+ type === messageTypes.REACTION ||
+ type === messageTypes.EDIT_MESSAGE ||
+ type === messageTypes.SIDEBAR_SOURCE ||
+ type === messageTypes.TOGGLE_PIN ||
+ type === messageTypes.CHANGE_ROLE
+ ) {
+ return false;
+ }
+
const messageCreatorRelationship = messageCreatorUserInfo?.relationshipStatus;
const creatorRelationshipHasBlock =
messageCreatorRelationship &&

File Metadata

Mime Type
text/plain
Expires
Fri, Sep 20, 5:01 PM (19 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2152415
Default Alt Text
D9237.diff (622 B)

Event Timeline