Presence WhatsApp -> Matrix
I saw this was on the roadmap, and wanted to discuss if (and how) this will be possible, and when it will be done. I feel like this is one of the more crucial features for most users.
Any updates? It seems it's been on the roadmap for years.
The underlying API does provide option for receiving presence updates: https://pkg.go.dev/go.mau.fi/whatsmeow#Client.SubscribePresence
The issue is that you likely don't want to subscribe to the presence of every user known to mautrix. Perhaps it's enough if we just listen to presence updates of users that you've created a private room with on matrix?
There are more intricacies. Privacy tokens, etc.
Not even sure if whatsmeow has presence support in the first place (to an adequate level)
Any updates? It seems it's been on the roadmap for years.
The underlying API does provide option for receiving presence updates: https://pkg.go.dev/go.mau.fi/whatsmeow#Client.SubscribePresence
The issue is that you likely don't want to subscribe to the presence of every user known to mautrix. Perhaps it's enough if we just listen to presence updates of users that you've created a private room with on matrix?
@tulir this function does not take a tcToken?
EDIT: NVM
https://github.com/tulir/whatsmeow/blob/66c6524b93ade1691302d4a1da0d66eaba36daa6/presence.go#L109
There are no plans for presence bridging currently
In brief, what is the issue with privacy tokens? I would lilke to research potential solutions.