summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Sluift/client.cpp')
-rw-r--r--Sluift/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sluift/client.cpp b/Sluift/client.cpp
index 06df6a4..1cdd8d7 100644
--- a/Sluift/client.cpp
+++ b/Sluift/client.cpp
@@ -473,7 +473,7 @@ SLUIFT_LUA_FUNCTION_WITH_HELP(
if (!lua_isnil(L, -1)) {
jid = JID(lua_tostring(L, -1));
}
- router->sendIQ(IQ::createRequest(IQ::Get, jid, IDGenerator().generateID(), mamQuery));
+ router->sendIQ(IQ::createRequest(IQ::Set, jid, IDGenerator().generateID(), mamQuery));
}
else {
throw Lua::Exception("Illegal MAMQuery");