# Fix presence problem when shared groups can be seen by other groups

## Description

Root problem to fix: Both users have some shared group visible to some other groups and each user belong to at least one group of each list.

Case 1:
1) UserA belongs to GroupA
2) UserB belongs to GroupB
3) GroupA can be seen by GroupC
4) GroupB can be seen by GroupC
5) UserA and UserB belong to GroupC

Case 2:
1) UserA belongs to GroupA and GroupC
2) UserB belongs to GroupB and GroupD
3) GroupA can be seen by GroupD
4) GroupB can be seen by GroupC

Case 3:
1) UserA belongs to GroupA and GroupC
2) UserB belongs to GroupB
3) GroupA can be seen by GroupB
4) GroupB can be seen by GroupC

In all these cases the presence should be of type both for both users.

None
Fixed

Gaston Dombiak

Gaston Dombiak