Polling / sending to closed group doesn't work #3

Open
opened 2024-11-27 08:10:52 +01:00 by olpalu · 7 comments
olpalu commented 2024-11-27 08:10:52 +01:00 (Migrated from github.com)

The polling and sending features to closed groups in Session are not functioning as expected. The example provided here does not work for closed groups. By "closed groups," I am referring to the private groups created within Session, which support a maximum of 100 people.

The polling and sending features to closed groups in Session are not functioning as expected. The example provided [here](https://sessionjs.github.io/docs/polling/) does not work for closed groups. By "closed groups," I am referring to the [private groups](https://getsession.org/faq#closed-groups) created within Session, which support a maximum of 100 people.
VityaSchel commented 2024-11-27 08:58:17 +01:00 (Migrated from github.com)

Hi! I know this feature wasn't implemented yet. This was initially pending until Session developers team rewrite closed chats backend, but now the whole library development is frozen until they move all stuff to libsession and then this library will be backed by it instead of manually handling connections.
You can always, of course, contact me if you want to pay me to work on this, but I'm currently a little busy with a lot of orders from Session community

Hi! I know this feature wasn't implemented yet. This was initially pending until Session developers team rewrite closed chats backend, but now the whole library development is frozen until they move all stuff to libsession and then this library will be backed by it instead of manually handling connections. You can always, of course, contact me if you want to pay me to work on this, but I'm currently a little busy with a lot of orders from Session community
VityaSchel commented 2024-11-27 08:58:46 +01:00 (Migrated from github.com)

PRs are welcome, too :)

PRs are welcome, too :)
olpalu commented 2024-11-27 09:52:10 +01:00 (Migrated from github.com)

If you could provide guidance on what changes should be made, I may be able to work on that.

If you could provide guidance on what changes should be made, I may be able to work on that.
VityaSchel commented 2024-11-27 10:14:57 +01:00 (Migrated from github.com)

You should start by figuring out how sending messages work in Session and especially in current closed groups implementation. Dig official electron desktop client or any other implementation that feels closer to your skills. Then look for sending messages script in this library and implement section for closed groups

You should start by figuring out how sending messages work in Session and especially in current closed groups implementation. Dig official electron desktop client or any other implementation that feels closer to your skills. Then look for sending messages script in this library and implement section for closed groups
olpalu commented 2024-11-27 10:23:31 +01:00 (Migrated from github.com)

ok, how to groupPubKey here
is it something that we should provide like sessionID ?

ok, how to groupPubKey [here](https://github.com/sessionjs/client/blob/4550377a44c10cc2ea122bbea4bf953a1714900d/src/polling/index.ts#L182) is it something that we should provide like sessionID ?
VityaSchel commented 2024-11-27 10:28:05 +01:00 (Migrated from github.com)

This was taken from official desktop client code, so I suggest looking there

This was taken from official desktop client code, so I suggest looking there
VityaSchel commented 2024-11-27 13:31:55 +01:00 (Migrated from github.com)

also rate my session merch btw IMG_20241127_125640_837.jpg

also rate my session merch btw ![IMG_20241127_125640_837.jpg](https://github.com/user-attachments/assets/88e6d7d1-879a-4110-9d8a-79a353c79594)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: session.js/client#3
No description provided.