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

[BUG][NOWEB] - Webhook when viewing status not working #329

Closed
MoishyShuvax opened this issue May 13, 2024 · 5 comments
Closed

[BUG][NOWEB] - Webhook when viewing status not working #329

MoishyShuvax opened this issue May 13, 2024 · 5 comments
Labels
engine:NOWEB question Further information is requested

Comments

@MoishyShuvax
Copy link

Webhook when viewing status not working

Version

{
  "version": "2024.5.6",
  "engine": "NOWEB",
  "tier": "PLUS",
  "browser": "/usr/bin/chromium"
}

Expected behavior

While waiting for the message.ack event, a webhook should be sent whenever a contact views the status I sent

In practice, the webhook is received only in the first view and not in the following views

@MoishyShuvax MoishyShuvax added the bug Something isn't working label May 13, 2024
@devlikepro
Copy link
Contributor

devlikepro commented May 20, 2024

In practice, the webhook is received only in the first view and not in the following views

That's right, it works this way even in the origial WA app - if you watch status multiple times from the same account - it shows "1 view(s)"
If you watch it from different account - it'll send you a new message.ack for that view (if the account has the right "send ack" settings)

let us know if we misunderstood smth here!

patron:PRO

@devlikepro devlikepro added engine:NOWEB question Further information is requested and removed bug Something isn't working labels May 20, 2024
@MoishyShuvax
Copy link
Author

No, I'm talking about viewing from another account
The webhook is sent only on the first view, and subsequent views from other accounts are not sent

@oteGroupMoishy
Copy link

No, I'm talking about viewing from another account
The webhook is sent only on the first view, and subsequent views from other accounts are not sent

@devlikepro Any update on this?

@allburov
Copy link
Contributor

allburov commented May 30, 2024

Working on that! Found the root cause, fixing it in the engine, hopefully fix will be available soon! 🤞

patron:PRO

@allburov
Copy link
Contributor

allburov commented Jun 1, 2024

Fixed in 2024.5.14!
Also fixed from/to name - it'll be status@broadcast

{
    "event": "message.ack",
    "session": "default",
    "me": {
        "id": "123123@c.us",
        "pushName": "Sim1"
    },
    "payload": {
        "id": "true_status@broadcast_AAAAAAAAAAAAAAAAA",
        "from": "status@broadcast",
        "to": "status@broadcast",
        "participant": "321321@c.us",
        "fromMe": true,
        "ack": 3,
        "ackName": "READ"
    },
    "engine": "NOWEB",
    "environment": {
        "version": "2024.5.14",
        "engine": "NOWEB",
        "tier": "PLUS",
        "browser": "/usr/bin/google-chrome-stable"
    }
}

patron:PRO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine:NOWEB question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants