Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Presence always shows online in Whatsapp #640

Open
satchafunkilus opened this issue Jul 26, 2023 · 4 comments
Open

Presence always shows online in Whatsapp #640

satchafunkilus opened this issue Jul 26, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@satchafunkilus
Copy link

If I toggle on the presence brigding, my status in Whatsapp is always shown as online, it will never go back to offline.

Even if I disable presence bridging and only enable send_presence_on_typing, as soon as I start typing once, my status in Whatsapp will toggle to Online and never switch back. Is there anything I am missing here?

@satchafunkilus satchafunkilus added the bug Something isn't working label Jul 26, 2023
@Tycho-S
Copy link

Tycho-S commented Oct 27, 2023

I've seen this issue since 0.10.2, in 0.10.0 it worked fine strange enough. I did the upgrade in early October through the famous ansible playbook.

Since 0.10.2 my contacts complained that I had been on "Last seen: 2 days ago" while I was sending them messages. I toggled presence off and back on (it had always been on!) and like @satchafunkilus says, I then got the issue that I am always on online status.

I've turned off presence in Whatsapp now altogether because it's very confusing for my contacts. It would be really great if this could be fixed 🙏

Some indication might be that it worked fine in 0.10.0 and no longer in 0.10.2. Though it could of couse also be that whatsapp changed something in whatsapp web. This kind of integration is an everlasting game of catching up...

Edit: I see I have 0.10.3 now and the problem is still there but it started in 0.10.2. If I can find a way to revert I will try that, to see if that fixes it. But I don't want to mess up my complex ansible install :) Because I don't understand it well enough to be honest.

@Tycho-S
Copy link

Tycho-S commented Oct 31, 2023

Update: I downgraded my Whatsapp bot to version 0.10.0 (it was as easy as changing one line in the ansible playbook) and the presence bridging works again! So it's something that has changed in the bot and not in Whatsapp Web itself.

As soon as I close the window of element I see it dropping the online status <3 Just the way it's supposed to work. In 0.10.2 and 0.10.3 it sticks in online status.

So whatever happened between 0.10.0 and 0.10.2 it broke the presence bridging somehow.

@tulir
Copy link
Member

tulir commented Oct 31, 2023

Presence bridging is very low priority and probably won't be fixed (at least not before it's fixed in the Matrix spec), but make sure you have ephemeral_events enabled in the config and appservice registration file

@Tycho-S
Copy link

Tycho-S commented Oct 31, 2023

Thanks @tulir, I will try that with the 0.10.3 config to see if that fixes the issue for me! If that fixes it I'll tell the ansible workbook maintainers so they can enable that. Because I see this setting is currently off in their default config.

And yeah, I think especially explicit presence is a major missing thing in the matrix spec. They are positioning it now as a MS Teams / Slack alternative but in all those platforms you can manually choose if you want to be seen as available whereas Matrix only allows you to do it automatically :( I hope they fix that soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants