[Bug 19903] Implement the "stored" list

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 28 16:52:04 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=19903

--- Comment #8 from Louis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne at collabora.co.uk> 2010-06-28 07:52:03 PDT ---
(In reply to comment #7)
> I'd like a definite answer to this question from someone who understands MSNP:
> it blocks undrafting of sane ContactList APIs (Bug #21787) so is a high
> priority from my point of view.
> Sjoerd suggests that the real situation might be that removing a contact in WLM
> unsubscribes, but also blocks them

Oliver is right about that. By default, when you delete a contact in WLM, it's
only removed from the subscribe list but not from the publish list. You have 
also the option to block it as well on deletion though. (so Sjoerd is partially
right)

Empathy is removing the contact from both lists.

> If that's the case, then it's not really a lie to omit blocked contacts from
> the publish list even if they're on the underlying MSNP reverse list (we'd
> normally be sending presence to them, but because they're blocked, we don't
> anyway), and we have a simple solution:
> 
> * on Telepathy subscribe list = is on MSNP forward list
> * on Telepathy deny list = is on MSNP block list
> * on Telepathy publish list = is on MSNP reverse list, but not on MSNP deny
> list
> * on Telepathy stored list = is on Telepathy subscribe and/or publish list

Right, except for the publish list. There is a MSNP allow list that is exactly
the same thing than the tp publish list. The only difference is that Empathy
deletes the contact from the publish list and WLM doesn't.

Also when you block a contact, it's added to the Block list and removed from
the Allow list. You can also only remove someone from the Allow list (without
blocking him) in the Options window of WLM.

> Example of usage:
> 
> * I have mutual subscriptions with A, B, C
>   - MSNP forward = [A, B, C], reverse = [A, B, C], blocked = []
>   - Telepathy subscribe = [A, B, C], publish = [A, B, C], stored = [A, B, C],
> deny = []
> * I remove A using WLM
>   - MSNP forward = [B, C], reverse = [A, B, C], blocked = [A]
>   - Telepathy subscribe = [B, C], publish = [B, C], stored = [B, C], deny = [A]
> * I remove B using Telepathy
>   - MSNP forward = [C], reverse = [A, C], blocked = [A]
>   - Telepathy subscribe = [C], publish = [C], stored = [C], deny = [A]

The reverse list is not really an useful information (it's just a "spying"
tool..."Who added me to their contact list ?", Pidgin displays "Has you?" in
the contact list tooltip, etc)

What we really use in tp-butterfly is the Allow list. So, here is a more
complete scenario:

*1 You have 3 contacts:
 - MSN: forward = [A, B, C], allow = [A, B, C],  block = [], reverse = [A, B,
C]
 - Tp: subscribe = [A, B, C], publish = [A, B, C], stored = [A, B, C], deny =
[]

*2 Delete A with WLM (without checking "Block as well" box):
 - MSN: forward = [B, C], allow = [A, B, C],  block = [], reverse = [A, B, C]
 - Tp: subscribe = [B, C], publish = [A, B, C], stored = [A?, B, C], deny = []

*3 Delete A from Allow list in WLM (options window):
 - MSN: forward = [B, C], allow = [B, C],  block = [], reverse = [A, B, C]
 - Tp: subscribe = [B, C], publish = [B, C], stored = [B, C], deny = [] 

*4 Delete B with WLM (and block):
 - MSN: forward = [C], allow = [C],  block = [B], reverse = [A, B, C]
 - Tp: subscribe = [C], publish = [C], stored = [C], deny = [B] 

*5 Delete C with Empathy:
 - MSN: forward = [], allow = [],  block = [B], reverse = [A, B, C]
 - Tp: subscribe = [], publish = [], stored = [], deny = [B]

*6 Contact C deletes you from his contact list:
 - MSN: forward = [], allow = [],  block = [B], reverse = [A, B]
 - Tp: subscribe = [], publish = [], stored = [], deny = [B]

?? At step 2, should A be in the stored list ??

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list