You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When send subscription presence to user , the user was added in storage whether he accept or decline.
In - (void)xmppStream:(XMPPStream *)sender didReceivePresence:(XMPPPresence *)presence method , it should judge the type of presence.
....
else if ([[presence type] isEqualToString:@"unsubscribe"])
{
[self removeUser:presence.from];
}
....
The text was updated successfully, but these errors were encountered:
According to the RFC 3921 section 8.2.1 if you request to subscribe to someones presence and they decline, they still appear in your roster so this works as expected.
When send subscription presence to user , the user was added in storage whether he accept or decline.
In
- (void)xmppStream:(XMPPStream *)sender didReceivePresence:(XMPPPresence *)presence
method , it should judge the type of presence.....
else if ([[presence type] isEqualToString:@"unsubscribe"])
{
[self removeUser:presence.from];
}
....
The text was updated successfully, but these errors were encountered: