evgs / BombusLime

Xmpp client for Android devices
http://bombus.im/lime/nightlies
GNU General Public License v2.0
15 stars 1 forks source link

vk.com and resource in presences #22

Closed evgs closed 12 years ago

evgs commented 12 years ago

Check this usecase (from resource missing)

<presence from="idxxxxx@vk.com" to="me@vk.com/resource">
  <x xmlns="vcard-temp:x:update">
    <photo>[SHA-1]</photo>
  </x>
</presence>
evgs commented 12 years ago

Bug in vk.com ?

http://tools.ietf.org/html/rfc6121#section-4.2.2

Upon receiving initial presence from a client, the user's server MUST send the initial presence stanza from the full JID user@domainpart/resourcepart of the user to all contacts that are subscribed to the user's presence; such contacts are those for which a JID is present in the user's roster with the 'subscription' attribute set to a value of "from" or "both".