Skip to content

Commit 1dff6e3

Browse files
committed
Bump @session.js/blinded-session-id version
1 parent f1a9a29 commit 1dff6e3

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,9 @@ If you ever want to restore this user's permissions, simply repeat process until
251251

252252
## Known issues
253253

254+
- Blinding does not work
255+
- There are some issues with blinding Session ID, sometimes it just doesn't work despite algorithm being pretty much the same as pysogs and libsession implementations
256+
- You should write blinded session id by client instead of clear unblinded session ID into CLI
254257
- You can only add one admin/moderator, ban only one user per time
255258
- We should allow multiple inputs in Session ID fields using `list` type from prompts library
256259

bun.lockb

0 Bytes
Binary file not shown.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"typescript": "^5.0.0"
4040
},
4141
"dependencies": {
42-
"@session.js/blinded-session-id": "^1.0.0",
42+
"@session.js/blinded-session-id": "1.0.1",
4343
"@session.js/types": "^1.0.9",
4444
"@types/libsodium-wrappers": "^0.7.14",
4545
"@types/prompts": "^2.4.9",

src/room.ts

+1
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ export class Room {
205205
FROM user_permissions
206206
WHERE room = $roomId AND "user" = $user
207207
`).get({ $roomId: roomId, $user: user.id })
208+
console.log(permissionsDb, roomId, user.id)
208209
const permissions = {
209210
banned: Boolean(permissionsDb?.banned),
210211
read: Boolean(permissionsDb?.read ?? this.defaultRead),

0 commit comments

Comments
 (0)