Conversation
|
size-limit report 📦
|
bcherry
left a comment
There was a problem hiding this comment.
so this allows reopening a closed a stream to rewrite the text? is it a requirement that the stream was already closed and maybe that it was actually your stream to begin with?
not really, this is a new stream with a different operationType (
yes, you should only update streams that have previously completed, we don't have a good way to enforce this unfortunately
yeah, that's another short coming of not having a centralised message hub that can enforce these kind of restrictions. The SFU overrides the participant identity if it's not coming from an agent to ensure the sender_identity cannot easily be spoofed by other clients. So the app logic for displaying the chat would have to do the check to ensure that the original message is not being overridden if the participant_identities don't match. This requires however that the app has the original message still in memory. Also happy with converting this back to a draft if we don't want to support this rn |
to support editing of messages