# File jabber4r/session.rb, line 554

    def register_iq_filter() 

      @connection.add_filter("iqFilter") do |element|

        if element.element_tag=="iq" then

          element.consume_element

          query=element.query

          h=@iqHandlers[query.attr_xmlns]

          h.call(Jabber::Protocol::Iq.from_element(self,element)) if h

        end

      end

    end