Skip to content

Commit

Permalink
Fixed receiving of IQ stanzas from roster
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruslan Nigmatullin committed Jan 6, 2013
1 parent 7d95b94 commit 1c8f186
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client.cpp
Expand Up @@ -98,6 +98,7 @@ void ClientPrivate::handleStanza(const Stanza::Ptr &stanza)
}
} else if (iq->subtype() == IQ::Get || iq->subtype() == IQ::Set) {
bool ok = iq->from().isDomain()
|| !iq->from().isValid()
|| !roster
|| rooms.contains(iq->from().bare())
|| iq->from().bare() == jid.bare();
Expand Down

0 comments on commit 1c8f186

Please sign in to comment.