Hello Mittal,

On Thu, 17 Sep 2009 17:27:26 +0530, Mittal Thakkar
<[email protected]> wrote:

>> > How useful(practical) is it to store the separate collections based
on
>> > different full jid's of the same contact?
>>
>> I would say - both useful and practical: "useful" because I might be
>> interested in knowing which resource was used for that particular
>> conversation ("I remember I was chatting with Juliet when she was at
>> work,
>> so I'm going to list only collections with [email protected]/Work")
and
>> "practical" - because with proper conversations tracking (preferrably
>> based on threads if clients support that, but even simpler heuristic
tracking
>> typically works well enough) there are no more conversations created
than
>> necessary.
> 
> I agree with your argument; but
> 1.) it is very difficult to remember all the resources of each roster
> items,
> 2.) when it comes to end user there is very less possibility that a user
> will modify its resources hence he/she might have a default resource
name
> as per the implementation of the client being used,

Well, I do not claim that you ALWAYS have to use resources, and even that
you HAVE TO at all ;-)

I just claim that there ARE scenarios when you would like to use them (the
scenario I provided
is the real-life one I use - surely, it can be done differently, but it
works fine for me this way)
and I do not see real reason to limit these scenarios.

> 3.) if I want to retrieve all the archived messages with [email protected]
during
> the whole day when abc has used multiple resources on that day viz.
> [email protected]/home (in morning), [email protected]/work (in afternoon),
> [email protected]/home (in evening again); in this case it is very difficult
to
> retrieve all the collection or the archived messages in proper order.

If i understood correctly what you'd like to do, then just sending
<list start="some-date-in-the-morning" end="some-date-in-the-evening"
with="[email protected]"/> would do the job -
you do not have to use full JIDs in <list> command unless you need that.

-- 
Good luck!                                     Alexander

Reply via email to