mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 20:32:50 +02:00
Barebones matrix media proxy
This commit is contained in:
parent
eaa3b87670
commit
b45d0f3038
9 changed files with 169 additions and 44 deletions
|
@ -28,9 +28,9 @@ function writeRegistration(reg) {
|
|||
/** @returns {import("../types").InitialAppServiceRegistrationConfig} reg */
|
||||
function getTemplateRegistration() {
|
||||
return {
|
||||
id: crypto.randomBytes(16).toString("hex"),
|
||||
as_token: crypto.randomBytes(16).toString("hex"),
|
||||
hs_token: crypto.randomBytes(16).toString("hex"),
|
||||
id: "ooye",
|
||||
as_token: crypto.randomBytes(32).toString("hex"),
|
||||
hs_token: crypto.randomBytes(32).toString("hex"),
|
||||
namespaces: {
|
||||
users: [{
|
||||
exclusive: true,
|
||||
|
@ -46,6 +46,7 @@ function getTemplateRegistration() {
|
|||
],
|
||||
sender_localpart: "_ooye_bot",
|
||||
rate_limited: false,
|
||||
socket: 6693,
|
||||
ooye: {
|
||||
namespace_prefix: "_ooye_",
|
||||
max_file_size: 5000000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue