You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This is a bit lower than the max size an event can be in Matrix.
103
+
// > The complete event MUST NOT be larger than 65536 bytes, when formatted with the federation event format, including any signatures, and encoded as Canonical JSON.
104
+
constMAX_EVENT_SIZE_BYTES=65536-4*1024;
105
+
102
106
constEXPIRY_NOTICE_MESSAGE=
103
107
"The webhook **%NAME** will be expiring in %TIME.";
104
108
@@ -651,22 +655,46 @@ export class GenericHookConnection
651
655
);
652
656
653
657
// Matrix cannot handle float data, so make sure we parse out any floats.
0 commit comments