Allow stubbing for bot get and set iq queries

This commit is contained in:
James Booth
2015-07-22 22:55:00 +01:00
parent 1040fb4fe1
commit 3c9df4390c

View File

@@ -241,7 +241,7 @@ stanza_get_query_request(XMPPStanza *stanza)
}
const char *type = stanza_get_attr(stanza, "type");
if (g_strcmp0(type, "get") != 0) {
if (g_strcmp0(type, "result") == 0) {
return NULL;
}