Browse Source

Fix missing test case on dangling_moderation

John Livingston 1 năm trước cách đây
mục cha
commit
183afab2d9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/shared/chat/message-history.js

+ 1 - 1
src/shared/chat/message-history.js

@@ -32,7 +32,7 @@ export default class MessageHistory extends CustomElement {
     }
 
     renderMessage (model) {
-        if (model.get('dangling_retraction') || model.get('is_only_key')) {
+        if (model.get('dangling_retraction') || model.get('dangling_moderation') ||  model.get('is_only_key')) {
             return '';
         }
         const template_hook = model.get('template_hook')