!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org

NixOS Matrix Subsystem

130 Members
Coordination and discussion about the matrix subsystem in NixOS - https://nixos.wiki/wiki/Matrix63 Servers

Load older messages


SenderMessageTime
24 Sep 2022
@hexa:lossy.networkhexamostly headless stuff02:05:11
@hexa:lossy.networkhexaTIL https://areweoidcyet.com/#what22:23:07
@hexa:lossy.networkhexamatrix is moving to OIDC for auth22:23:26
@sandro:supersandro.deSandro 🐧
In reply to @winterqt:nixos.dev
How often did you update it though Sandro 🐧, plus -small is very specifically made for not having large rebuilds like browsers
every to every other day
23:50:50
25 Sep 2022
@linus:schreibt.jetzt@linus:schreibt.jetzt
In reply to @hexa:lossy.network
matrix is moving to OIDC for auth
Nice!
09:58:41
26 Sep 2022
@hexa:lossy.networkhexahttps://github.com/matrix-org/matrix-appservice-irc/commit/ed0d64767db7fc7720d316326673e7c99f7947cf11:26:31
@hexa:lossy.networkhexathe gift that keeps on giving11:27:40
@hexa:lossy.networkhexahttps://github.com/matrix-org/matrix-appservice-irc/releases/tag/0.35.111:28:06
@hexa:lossy.networkhexanow also released just 30s ago11:28:13
@hexa:lossy.networkhexa
--- a/src/datastore/postgres/PgDataStore.ts
+++ b/src/datastore/postgres/PgDataStore.ts
@@ -661,8 +661,9 @@ export class PgDataStore implements DataStore {
 
     public async getRoomsVisibility(roomIds: string[]) {
         const map: {[roomId: string]: "public"|"private"} = {};
-        const list = `('${roomIds.join("','")}')`;
-        const res = await this.pgPool.query(`SELECT room_id, visibility FROM room_visibility WHERE room_id IN ${list}`);
+        const res = await this.pgPool.query("SELECT room_id, visibility FROM room_visibility WHERE room_id IN $1", [
+            roomIds,
+        ]);
         for (const row of res.rows) {
             map[row.room_id] = row.visibility ? "public" : "private";
         }
11:28:53
@piegames:matrix.org@piegames:matrix.orgGood thing that I still haven't updated my bridge from last time, so now I only need to update once 🙈11:28:57
@hexa:lossy.networkhexaonly with postgres, prevents injection apparently11:29:01
@hexa:lossy.networkhexaaren't you on heisenbridge anyhow?11:29:14
@piegames:matrix.org@piegames:matrix.orgI have both, for legacy reasons11:29:38
@hexa:lossy.networkhexa Winter (she/her): and of course they removed the crypto-sdk in this release again 😄 11:51:32
@hexa:lossy.networkhexathey don't mention it, but it's gone11:52:18
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/19302212:00:08
@winterqt:nixos.devWinter (she/her)
In reply to @hexa:lossy.network
Winter (she/her): and of course they removed the crypto-sdk in this release again 😄

nooo lmao

is it even worth packaging it then?

13:32:44
@winterqt:nixos.devWinter (she/her) (also: "again"? they only added it last release) 13:33:00
@hexa:lossy.networkhexayes, I think so13:34:23
@hexa:lossy.networkhexa0.35.0 added 0.35.1 removed13:34:35
@hexa:lossy.networkhexaboth transitively13:34:39
@dandellion:dodsorf.asDandellion
In reply to @winterqt:nixos.dev
(also: "again"? they only added it last release)
again can mean to go back to a previous state
13:34:59
@dandellion:dodsorf.asDandellionnot just repeating13:35:04
@dandellion:dodsorf.asDandellion * not just repeating something13:35:11
@hexa:lossy.networkhexaoh, maybe my english is bad 😛13:35:23
@dandellion:dodsorf.asDandellionno it's fine13:35:29
@hexa:lossy.networkhexabecause winter is a native speaker I guess 😄13:35:31
@winterqt:nixos.devWinter (she/her) i'll stop talking because i don't mean to nitpick anyone, sorry >.< 13:38:13
@dandellion:dodsorf.asDandellionit's apparently obsolete since like 18th century in english (but my native language still has it as well, so no one has ever pointed out the misuse before now) so thanks for pointing it out actually13:43:34

Show newer messages


Back to Room ListRoom Version: 4