fix minor bugs

This commit is contained in:
MathMan05 2025-04-11 14:17:20 -05:00
parent 5c58b50a25
commit f7faffb938
2 changed files with 2 additions and 1 deletions

View file

@ -118,6 +118,7 @@ import {I18n} from "./i18n.js";
attachments: images, attachments: images,
embeds: [], // Add an empty array for the embeds property embeds: [], // Add an empty array for the embeds property
replyingto: replyingTo, replyingto: replyingTo,
sticker_ids: [],
}); });
if (thisUser.channelfocus) { if (thisUser.channelfocus) {
thisUser.channelfocus.makereplybox(); thisUser.channelfocus.makereplybox();

View file

@ -18,7 +18,7 @@ import {Sticker} from "./sticker.js";
class Message extends SnowFlake { class Message extends SnowFlake {
static contextmenu = new Contextmenu<Message, void>("message menu"); static contextmenu = new Contextmenu<Message, void>("message menu");
stickers: Sticker[]; stickers!: Sticker[];
owner: Channel; owner: Channel;
headers: Localuser["headers"]; headers: Localuser["headers"];
embeds!: Embed[]; embeds!: Embed[];