about summary refs log tree commit diff stats
path: root/tests/unittests/test_cmd_roster.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-11-01 17:53:59 +0100
committerMichael Vetter <jubalh@iodoru.org>2019-11-01 17:53:59 +0100
commitbc282ef569ecd068cc8d523601264d9f4beefafe (patch)
treeab8f0e1cbe656b20a7f25c377cecdb3375db88c5 /tests/unittests/test_cmd_roster.h
parentd5212d859389f14409af99b2708c4d002662fb92 (diff)
downloadprofani-tty-bc282ef569ecd068cc8d523601264d9f4beefafe.tar.gz
Move id from DeliveryReceipt to ProfBuffEntry struct
XEP-0184: Message Delivery Receipts, *requires* the id attribute.
Generally this is not the case.
For this reason the id was only present in the DeliveryReceipt struct
since it was only used for XEP-0184.

For https://github.com/profanity-im/profanity/issues/660 XEP-0313 MAM
and https://github.com/profanity-im/profanity/issues/805 XEP-0308 Last Message Correction
we will also need the id.

So in preparation for further work let's move the id to the general
ProfBuffEntry.

We will need to adapt code so that we actually always write the ID if we
receive one.
Diffstat (limited to 'tests/unittests/test_cmd_roster.h')
0 files changed, 0 insertions, 0 deletions