diff options
author | RaindropsSys <raindrops@equestria.dev> | 2023-12-27 00:00:30 +0100 |
---|---|---|
committer | RaindropsSys <raindrops@equestria.dev> | 2023-12-27 00:00:30 +0100 |
commit | d189daf93ac17a151f093d416f8d61bdb9efe8c5 (patch) | |
tree | 2a52c92db93d352b7a2fc5e6ad5584ca143909c5 /includes | |
parent | 5f18267c7ebbbb55288d793e84402f5ee86fcafd (diff) | |
download | pluralconnect-d189daf93ac17a151f093d416f8d61bdb9efe8c5.tar.gz pluralconnect-d189daf93ac17a151f093d416f8d61bdb9efe8c5.tar.bz2 pluralconnect-d189daf93ac17a151f093d416f8d61bdb9efe8c5.zip |
Updated 2 files and added pages/schedule.inc (automated)
Diffstat (limited to 'includes')
-rw-r--r-- | includes/external/signal/index.js | 1 | ||||
-rw-r--r-- | includes/pages.json | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/includes/external/signal/index.js b/includes/external/signal/index.js index 8bb6c05..7531fb5 100644 --- a/includes/external/signal/index.js +++ b/includes/external/signal/index.js @@ -60,6 +60,7 @@ const child_process = require("child_process"); fs.writeFileSync("/tmp/chm-" + user + "-pfp-final", pfp); child_process.execFileSync("signal-cli", [ "-a", number, "updateProfile", "--given-name", name, "--family-name", "", "--avatar", "/tmp/chm-" + user + "-pfp-final" ]); + child_process.execFileSync("signal-cli", [ "-a", number, "updateAccount", "--device-name", "Ponycule to Signal integration (v" + new Date().toISOString().split("T")[0].replaceAll("-", ".") + ")" ]); child_process.execFileSync("signal-cli", [ "-a", number, "sendSyncRequest" ]); fs.unlinkSync("/tmp/chm-" + user + "-pfp-final"); })();
\ No newline at end of file diff --git a/includes/pages.json b/includes/pages.json index 75dfdd6..09c5fe2 100644 --- a/includes/pages.json +++ b/includes/pages.json @@ -76,9 +76,9 @@ "admin": true, "limited": true }, - "schedules": { + "schedule": { "name": { - "en": "Schedules" + "en": "Raindrops System schedule" }, "admin": true, "limited": true |