* @return true if subscription request should automatically answered
*/
public boolean notifySubscriptionReceived(JID jid) {
boolean autoSubscribe = false;
for (SubscriptionManagerListener subscriptionManagerListener : this.subscriptionManagerListeners) {
IncomingSubscriptionEvent event = new IncomingSubscriptionEvent(jid);
subscriptionManagerListener.subscriptionReceived(event);
if (event.autoSubscribe)
autoSubscribe = true;
}
return autoSubscribe;