+2009-01-10 Christophe Romain <christophe.romain@process-one.net>
+
+ * src/mod_pubsub/node_default.erl: fix unsubscription of full jid
+ subscribed node (thanks to Andy Skelton)(EJAB-839)
+
2009-01-09 Badlop <badlop@process-one.net>
* doc/release_notes_2.0.3.txt: New file for new release
(not Authorized) and (Affiliation =/= owner) ->
{error, ?ERR_FORBIDDEN};
%% Was just subscriber, remove the record
- Affiliation == none ->
+ SubState#pubsub_state.affiliation == none ->
del_state(SubState#pubsub_state.stateid),
{result, default};
true ->
- %% TODO, may require better clean
set_state(SubState#pubsub_state{subscription = none}),
{result, default}
end.