Permalink
Browse files

Fixed receiving of IQ stanzas from roster

  • Loading branch information...
1 parent 7d95b94 commit 1c8f1869f16adc82724ddcd76a9b37f079bebe35 @euroelessar committed Jan 6, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/client.cpp
View
@@ -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();

0 comments on commit 1c8f186

Please sign in to comment.