Subject: How to use XEP-0184 with agsXMPP library
Hi Alex,
I am writing a xmpp client using agsXMPP, not Matrix, and I have to implement XEP-0184 message delivery receipts or ACK in order to send back an ACK to a device after my client receives and process a command sent by that device.
How should I implement this protocol? My client and my device can chat to each other already. I also implemented my receipt/ACK message to look like the example provided by the XEP-0184 Protocol:
But is this enough? Since when I do iq with disco#info from Spark to my client:
I don't see <feature var='urn:xmpp:receipts'/> response from my client.
How do I use agsXMPP to confirm that my client support that 'urn:xmpp:receipts' namespace?
I am writing a xmpp client using agsXMPP, not Matrix, and I have to implement XEP-0184 message delivery receipts or ACK in order to send back an ACK to a device after my client receives and process a command sent by that device.
How should I implement this protocol? My client and my device can chat to each other already. I also implemented my receipt/ACK message to look like the example provided by the XEP-0184 Protocol:
- <message
- from='kingrichard@royalty.england.lit/throne'
- id='bi29sg183b4v'
- to='northumberland@shakespeare.lit/westminster'>
- <received xmlns='urn:xmpp:receipts' id='richard2-4.1.247'/>
- </message>
But is this enough? Since when I do iq with disco#info from Spark to my client:
- <iq from='northumberland@shakespeare.lit/westminster'
- id='disco1'
- to='kingrichard@royalty.england.lit/throne'
- type='get'>
- <query xmlns='http://jabber.org/protocol/disco#info'/>
- </iq>
How do I use agsXMPP to confirm that my client support that 'urn:xmpp:receipts' namespace?
anvu85
Show profile
Link to this post