xmtp / libxmtp

LibXMTP is a shared library encapsulating the core functionality of the XMTP messaging protocol, such as cryptography, networking, and language bindings.
MIT License
47 stars 20 forks source link

Stream consent #1296

Closed codabrink closed 5 days ago

codabrink commented 6 days ago

Consent steaming - in the true sense of the word.

https://github.com/xmtp/libxmtp/issues/1114

neekolas commented 5 days ago

@codabrink One thing that would be helpful here are some race tests. Our streams don't guarantee ordering, so if you quickly toggle a user from allowed to blocked and back, I'm not sure this streaming setup is going to reliably give you a consistent output.

codabrink commented 5 days ago

@neekolas No problem, I can add some in a small follow-up PR.