Skip to content

Private or Non-Broadcast Messages #31

Answered by orweis
IppSec asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @IppSec :)

TL;DR - sure simply have the 'specific' clients / group members subscribe to the same unique topic (which you can also protect with access-control tokens)

There is no current first-class-citizen concept like the direct messages you're suggesting; since this is a pub/sub pattern solution, after all ;-).

That being said if you want to create something like that on-top of the pub/sub - it would be very easy; simply have the two direct parties subscribe to the same topic, for example the topic can be "{user-id-1}:{user-id-2}", you can also have the server secure that direct channel for only the allowed members through the recently added topic JWT restriction feature (Seetests/s…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@IppSec
Comment options

Answer selected by IppSec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #30 on February 25, 2022 16:27.