Am 19.02.2010 12:10, schrieb IƱaki Baz Castillo:
But there is a problem with point 1 as it's not valid for the case in which you block a user who was allowed. This is, subscription status cannot transition from "active" to "pending", so the only way is using case 3 in which the subscription status remains "active" but the presence server sends a spoofed NOTIFY with "offline" status.
Why not terminate the subscription if Bob removes Alice from the allowed buddies?
Then Alice will SUBSCRIBE again and receives status=pending.
regards klaus