mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-27 22:34:17 +00:00
client side fix for webhook bug
This commit is contained in:
@@ -906,6 +906,7 @@ class User extends SnowFlake {
|
||||
userupdate(json: userjson): void {
|
||||
const up = json.username !== this.username;
|
||||
if (json.avatar !== this.avatar) {
|
||||
if (json.avatar) json.avatar = json.avatar.match(/[^\/]*$/gm)![0];
|
||||
Array.from(document.getElementsByClassName("userid:" + this.id)).forEach((element) => {
|
||||
const img = element as safeImg;
|
||||
if ("setSrcs" in element) {
|
||||
|
||||
Reference in New Issue
Block a user