lib/blather/xmpp_node.rb in blather-0.7.0 vs lib/blather/xmpp_node.rb in blather-0.7.1
- old
+ new
@@ -75,9 +75,11 @@
def decorate(*decorators)
decorators.each do |decorator|
decorator.decorator_modules.each do |mod|
extend mod
end
+
+ @handler_hierarchy.unshift decorator.handler_hierarchy.first
end
self
end
# Turn the object into a proper stanza