[sip-comm-dev] Jabber subscription states


#1

I've been bugged by issue #814: Me as contact on Google Talk for some
time now so I started looking into whether it was correct to see
myself as a contact or not. This led me to discover the subscription
attributes of the roster items and the fact that the problematic "me"
contact had subscription="none".

Anyway, I also found out that I had a contact with subscription="from"
and ask="subscribe". While Empathy showed the contact in question just
like the other contacts with subscription="both", I remembered Gmail
chat didn't show a presence image for the contact (which seemed
strange when I first noticed it). I just checked Pidgin and, as I
expected, it actually shows visual clues that the contact is not like
the others - there's a "Not Authorized" status right under the contact
in the contact list, there's aslo a red stop sign and the contact's
context menu contains a "(Re-)Request authorization" menu item.

While I don't want to see the "me" contact in my contact list in SIP
Communicator, I'm not sure whether we'll want to do anything about the
other subscription states and I'm mentioning them here just in case.

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hi Lubo,

I saw that in libpurple for example such contacts with subscription
none are ignored and so not shown in contact list and any further
presence if you receive any will also be ignored. As said in the
comments its just a behaviour of gmail, auto adding contacts from the
addressbook in the roaster with subscription=None. I easily achieved
the same behaviour but something other came up. As this contacts have
been already created by us and they are in the contact list as I skip
them they stay unresolved and so they can be seen in the contactlist,
and when a presence come as they exist in the list their presence
change is reflected in the UI. I was wondering what shall we do ?
delete them or what ?

Thanks
damencho

···

On Fri, Jul 30, 2010 at 4:28 PM, Lubomir Marinov <lubo@sip-communicator.org> wrote:

I've been bugged by issue #814: Me as contact on Google Talk for some
time now so I started looking into whether it was correct to see
myself as a contact or not. This led me to discover the subscription
attributes of the roster items and the fact that the problematic "me"
contact had subscription="none".

Anyway, I also found out that I had a contact with subscription="from"
and ask="subscribe". While Empathy showed the contact in question just
like the other contacts with subscription="both", I remembered Gmail
chat didn't show a presence image for the contact (which seemed
strange when I first noticed it). I just checked Pidgin and, as I
expected, it actually shows visual clues that the contact is not like
the others - there's a "Not Authorized" status right under the contact
in the contact list, there's aslo a red stop sign and the contact's
context menu contains a "(Re-)Request authorization" menu item.

While I don't want to see the "me" contact in my contact list in SIP
Communicator, I'm not sure whether we'll want to do anything about the
other subscription states and I'm mentioning them here just in case.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

I saw that in libpurple for example such contacts with subscription
none are ignored and so not shown in contact list and any further
presence if you receive any will also be ignored. As said in the
comments its just a behaviour of gmail, auto adding contacts from the
addressbook in the roaster with subscription=None. I easily achieved
the same behaviour but something other came up.

Thank you very much!

As this contacts have
been already created by us and they are in the contact list as I skip
them they stay unresolved and so they can be seen in the contactlist,
and when a presence come as they exist in the list their presence
change is reflected in the UI. I was wondering what shall we do ?
delete them or what ?

I don't have an opinion on how to treat the existing "buggy" contacts
at this time. However, why is our impl.jabber implementation
processing and bubbling up to the UI the presence notifications from
contacts we're not subscribed to?

···

On Thu, Aug 5, 2010 at 4:55 PM, Damian Minkov <damencho@sip-communicator.org> wrote:

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net