Hi,
We have implemented xep-0136 in our application. I have following
issue regarding message archive retrieval.
Issue :
Consider section 7.1 Retrieving a list of collections. according this
section the client has facility to fetch a list of collections with a
particular contact using contact's bare jid, full jid or domain name.
consider a scenario :
1) whenever user sends a first message to the contact it goes to the
bare jid of the contact. This activity creates one collection with the
bare jid of the contact.
2) After contact replies for the first message, user's client sends
message to the full jid of the contact. This activity should also create
one collection as client might retrieve collection by specifying this
particular full jid of the contact.
3) Suppose a contact replies from some other resource than used in point
2, then this again should create a collection for same reason specified
in point 2 of this scenario.
This unnecessarily will create so many collections with the same contact.
If user queries for the bare jid of the contact for a particular date
and there are two collections existing on the db for that date one with
the bare jid and one with the full jid, then what should be returned?
How useful(practical) is it to store the separate collections based on
different full jid's of the same contact?