Closed michaelkebe closed 3 years ago
Yeah, this seems to be an issue in the upstream wire-protocol library, libsignal-protocol-javascript
. As far as I've been able to tell, it seems like it's giving that error because it's trying to migrate to a newer version of the session protocol, but it's already receiving messages in the newer format. I think it's just skipping the migration rather ungracefully, since it doesn't seem to cause any problems. It looks like Signal is in the process of migrating their wire protocol library to use Rust (I imagine cross-compiling to wasm and other formats for platforms like this), so I imagine libsignal-protocol-javascript
(which hasn't been significantly updated in some years) will go away eventually anyway.
That said, if anyone can find something I'm doing wrong that's causing this error, I'd be happy to fix it! But this is what I've been able to tell from my own investigations, I don't think it's a problem and it's not worth fixing since the library in question will likely be replaced soon. Going to close out this issue for now, but lmk if you have any other thoughts on this error message.
I am using the example client.js. Sometimes I get this:
But everything seems to work.