feat: forward message and channel invite

This commit is contained in:
zerosoul
2022-04-22 17:06:52 +08:00
parent b34eee726b
commit 5661ade09a
13 changed files with 307 additions and 64 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ export default function URLPreview({ url = "" }) {
getMetaData(url);
}, [url]);
if (!url || !data) return null;
if (!url || !data || !data.title) return null;
const { favicon, title, description, ogImage } = data;
return ogImage ? (
<StyledDetails href={url} target="_blank">