mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-30 20:32:54 +00:00
trace origin of the issue
This commit is contained in:
1 parent
90c15f4dde
commit
de26818c8d
1 file changed
+4
-1
@@ -243,7 +243,10 @@ export class Message extends BaseClass {
|
||||
member_id: undefined,
|
||||
webhook_id: this.webhook_id ?? undefined,
|
||||
application_id: undefined,
|
||||
mentions: this.mentions.map((user) => user?.toPublicUser?.() ?? user ?? undefined),
|
||||
mentions: this.mentions.map((user) => {
|
||||
if (user && !user.toPublicUser) console.trace("toPublic user missing!!!");
|
||||
return user?.toPublicUser?.() ?? user ?? undefined;
|
||||
}),
|
||||
|
||||
nonce: this.nonce ?? undefined,
|
||||
tts: this.tts ?? false,
|
||||
|
||||
Reference in new issue
Block a user