This commit is contained in:
MathMan05
2026-02-26 14:51:11 -06:00
committed by Rory&
parent 98347bf1ab
commit 2ff656ef03
4 changed files with 90 additions and 11 deletions
+11
View File
@@ -352,6 +352,17 @@ async function consume(this: WebSocket, opts: EventOpts) {
userAgent: this.userAgent,
}),
).attachments;
if (data["components"]) {
data["components"] = (
await Message.prototype.withSignedComponents.call(
data,
new NewUrlUserSignatureData({
ip: this.ipAddress,
userAgent: this.userAgent,
}),
)
).components;
}
break;
default:
break;