+2009-02-23 Christophe Romain <christophe.romain@process-one.net>
+
+ * src/ejabberd_c2s.erl: Do not call mod_caps:clear_caps, this previous
+ optimization is too agressive and breaks PubSub/PEP standard behavior
+ (EJAB-854)
+
2009-02-21 Badlop <badlop@process-one.net>
* src/mod_muc/mod_muc_room.erl: Owner of a password protected room
%% Note contact availability
case xml:get_attr_s("type", Attrs) of
"unavailable" ->
- mod_caps:clear_caps(From);
+ %mod_caps:clear_caps(From);
+ % caps clear disabled cause it breaks things
+ ok;
_ ->
Caps = mod_caps:read_caps(Els),
mod_caps:note_caps(StateData#state.server, From, Caps)