瀏覽代碼

Add more OGP metadata attributes to save

JC Brand 4 年之前
父節點
當前提交
541613d1fe
共有 1 個文件被更改,包括 2 次插入0 次删除
  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",