Search on MUC service always empty

Description

OK!

Got down and dirty on the source code and found the problem. The code that handes the search request for rooms was working fine (although I think it will be rather slow with too many rooms) but the result set was not being added to the response!

Thats why I never saw any matches. I just added one line of code, recompiled and now it works. I'll try and contact the authors so they can fix it, or I'll try to commit it to the svn myself.

In case it is usefull to anyone, the line I added is
res.add(resultform.getElement());
On the line 340 of the file at src/java/org/jivesoftware/openfire/muc/spi/IQMUCSearchHandler.java.

I'll let you know when/if this makes it to the svn

Environment

None

Activity

Show:

Daryl Herzmann 
June 6, 2011 at 6:36 PM

r12455

Fixed

Details

Assignee

Reporter

Ignite Forum URL

Fix versions

Affects versions

Priority

Created June 6, 2011 at 6:27 PM
Updated October 28, 2020 at 1:26 PM
Resolved June 6, 2011 at 6:36 PM