• Christian Schudt's avatar
    Fix XEP-0012 logic. · 1fbab5fe
    Christian Schudt authored
    If a query has no 'to' attribute it should be treated on behalf of the sender.
    It should not be treated as if it were targeted to the server (and return the server uptime).
    
    The former logic also threw an UserNotFoundException, if the user queried itself, because the user was not on his own roster.
     I've fixed that in the canProbePresence method.
    
     Fixes issue OF-982
    1fbab5fe
Name
Last commit
Last update
..
bin Loading commit data...
conf Loading commit data...
database Loading commit data...
i18n Loading commit data...
java Loading commit data...
javadoc/jdk15 Loading commit data...
plugins Loading commit data...
resources Loading commit data...
security Loading commit data...
spank Loading commit data...
test Loading commit data...
tools/anttask/org/jivesoftware/ant Loading commit data...
web Loading commit data...