Browse Source

Add more OGP metadata attributes to save

JC Brand 4 năm trước cách đây
mục cha
commit
541613d1fe
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/headless/plugins/muc/muc.js

+ 2 - 0
src/headless/plugins/muc/muc.js

@@ -17,6 +17,8 @@ const MODERATOR_COMMANDS = ['kick', 'mute', 'voice', 'modtools'];
 const VISITOR_COMMANDS = ['nick'];
 
 const METADATA_ATTRIBUTES = [
+    "og:article:author",
+    "og:article:published_time",
     "og:description",
     "og:image",
     "og:image:height",