Changeset 201:315226b9fbb1

Show
Ignore:
Timestamp:
05/11/2008 06:07:30 PM (4 years ago)
Author:
Dmitry Nezhevenko <dion@…>
Branch:
default
Message:

Correct query for own version

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/plugins/user/userplugin.cpp

    r170 r201  
    129129        if (s->subtype()==gloox::StanzaIqGet) 
    130130        { 
    131                 if (xmlns=="jabber:iq:version") 
     131                if (s->type()!=gloox::StanzaIqResult && xmlns=="jabber:iq:version") 
    132132                { 
    133133                        //We should send our version 
    134134                        sendVersion(s); 
     135                        return true; 
    135136                } 
    136137                if (xmlns=="http://jabber.org/protocol/disco#items")