mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 19:43:16 +00:00
fix pins
This commit is contained in:
1 parent
0871dd2cf6
commit
8528863270
1 file changed
+1
-1
@@ -243,7 +243,7 @@ export class Message extends BaseClass {
|
||||
member_id: undefined,
|
||||
webhook_id: this.webhook_id ?? undefined,
|
||||
application_id: undefined,
|
||||
mentions: this.mentions.map((user) => {
|
||||
mentions: this.mentions?.map((user) => {
|
||||
if (user && !user.toPublicUser) console.trace("toPublic user missing!!!");
|
||||
return user?.toPublicUser?.() ?? user ?? undefined;
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user