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,
embeds: [], // Add an empty array for the embeds property
replyingto: replyingTo,
sticker_ids: [],
});
if (thisUser.channelfocus) {
thisUser.channelfocus.makereplybox();

View file

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