소스 검색

Fix missing test case on dangling_moderation

John Livingston 1 년 전
부모
커밋
183afab2d9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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')