Skip to content
Snippets Groups Projects
Verified Commit 88fbbb5e authored by Haelwenn's avatar Haelwenn
Browse files

status.vue: Add support for favicons

Put in replacement to the external icon when possible
parent 57e72b48
No related branches found
No related tags found
2 merge requests!12172.1.0 into master,!1076status.vue: Add support for favicons
Pipeline #23318 passed
......@@ -150,8 +150,18 @@
class="source_url"
title="Source"
>
<i class="button-icon icon-link-ext-alt" />
<img
height="18px"
v-if="!!(status.user && status.user.favicon)"
:src="status.user.favicon"
/>
<i v-else class="button-icon icon-link-ext-alt" />
</a>
<img
v-else-if="!!(status.user && status.user.favicon)"
height="18px"
:src="status.user.favicon"
/>
<template v-if="expandable && !isPreview">
<a
href="#"
......
......@@ -71,6 +71,7 @@ export const parseUser = (data) => {
const relationship = data.pleroma.relationship
output.background_image = data.pleroma.background_image
output.favicon = data.pleroma.favicon
output.token = data.pleroma.chat_token
if (relationship) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment