whatsapp-http-api icon indicating copy to clipboard operation
whatsapp-http-api copied to clipboard

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

Open MoishyShuvax opened this issue 9 months ago • 2 comments

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 avatar May 13 '24 09:05 MoishyShuvax

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 avatar May 20 '24 04:05 devlikepro

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

MoishyShuvax avatar May 21 '24 14:05 MoishyShuvax

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?

oteGroupMoishy avatar May 29 '24 15:05 oteGroupMoishy

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

patron:PRO

allburov avatar May 30 '24 05:05 allburov

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

{
    "event": "message.ack",
    "session": "default",
    "me": {
        "id": "[email protected]",
        "pushName": "Sim1"
    },
    "payload": {
        "id": "true_status@broadcast_AAAAAAAAAAAAAAAAA",
        "from": "status@broadcast",
        "to": "status@broadcast",
        "participant": "[email protected]",
        "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

allburov avatar Jun 01 '24 09:06 allburov