ilmaisin
ilmaisin
On Firefox for Android, it is impossible to check the "Push" notifications option: the check mark appears on the check box, but the box stays gray, and the mark vanishes...
I'll try that patch, will convert into a PR if it works well. The author of whatsmeow suggested that we could just always use the PushName since it is always...
https://github.com/42wim/matterbridge/blob/0c839469839314f432703b8294cf318d5d16d785/bridge/whatsappmulti/helpers.go#L21-L69 We have code already in the repo that should be able to revet to the PushName if it can't get the name of the contact. Why does it not...
@Th3-822 The patch seems to indeed work, but I don't really understand why, see the previous message. Could you explain it a bit?
Okay... @42wim What do you think of the idea of always just using the PushName?
If I send from Whatsapp Web, `.0:5` gets added to the JID before the @ sign. It probably is the thing that confuses the `getSenderName` function.
> > [There are two types of JIDs: regular JID pairs (user and server) and AD-JIDs (user, agent and device).](https://pkg.go.dev/go.mau.fi/[email protected]/types#JID) > > Maybe using [ParseJID](https://github.com/tulir/whatsmeow/blob/e660988acdbc420421d5a3d58ea9f3faba49b2ed/types/jid.go#L127-L136) and using only the user...
This would indeed make it easier when Whatsapp is being run in a VM. Whatsmeow's documentation isn't the greatest, but we can take a look at how it is done...
The PR that added the reply preservation feature to Whatsapp was this: https://github.com/42wim/matterbridge/pull/1974 I am not sure if I recall it right, but you might need to put `PreserveThreading=true` to...