Matthew Hodgson

Results 552 comments of Matthew Hodgson

So looks like the NSE deleted our own crypto store, during this run: ``` 2022-01-24 13:01:51.561 RiotNSE[11625:5769581] ################################################################################ 2022-01-24 13:01:51.561 RiotNSE[11625:5769581] [NotificationService] Instance: , thread: {number = 22, name =...

(also, why do we keep calling `/devices` every time we receive a push?)

Having read the code, I see that the NSE is trying to maintain a separate bgCryptoStore, and it's that which is being deleted rather than the main realm DB. However,...

I think i just saw this again in 1.8.3 TF; rageshake attached.

I've done one over at https://github.com/matrix-org/twemoji-colr/tree/matthew/sbix

mm, thanks for the hint. Looks like https://www.sqlite.org/inmemorydb.html can indeed support multiple connections, either with or without shared cache. However, I'm not sure that sql.js is using in-memory? From looking...

...completely untested, i think something like this could work, by expanding `Database()` to take either a byte array or an existing Database object if you're opening a new connection to...

it's a hacky API (mainly so we can use it in a demo tomorrow), but you'd pass `undefined` as the first param.

Given a choice between improving the usability, performance and stability of Matrix’s reference implementations so that people can actually use it in favour of Slack/Discord/WhatsApp... versus building SDK doc websites,...

that would be the tragedy of the commons, then (doubly so on a bug tagged “help wanted” and “easy”).