you wouldn't redesign a whole app in one commit

This commit is contained in:
ari melody 2024-06-28 06:19:00 +01:00
parent 957a067568
commit 7669c5b4d6
Signed by: ari
GPG key ID: CF99829C92678188
69 changed files with 1232 additions and 506 deletions

View file

@ -1,5 +1,6 @@
import { Client } from '../client/client.js';
import { parseText as parseEmojis } from '../emoji.js';
import { get } from 'svelte/store';
export default class User {
id;
@ -16,7 +17,7 @@ export default class User {
get mention() {
let res = "@" + this.username;
if (this.host != Client.get().instance.host)
if (this.host != get(Client.get()).instance.host)
res += "@" + this.host;
return res;
}