diff --git a/client/components/LinkPreview.vue b/client/components/LinkPreview.vue new file mode 100644 index 00000000..9281cb66 --- /dev/null +++ b/client/components/LinkPreview.vue @@ -0,0 +1,82 @@ + + + diff --git a/client/components/Message.vue b/client/components/Message.vue index a018ec7a..511037e3 100644 --- a/client/components/Message.vue +++ b/client/components/Message.vue @@ -32,11 +32,10 @@ class="text" v-html="$options.filters.parse(message.text, message.users)"/> -
+ :link="preview"/>
@@ -44,8 +43,10 @@