Fix the reversed to/from on the final db:result. Fixes M-Link and Gmail. Thanks dwd!!
[prosody.git] / core / offlinemessage.lua
index dda9b7d878e68086d77c56f8c20608a65f1ea67e..ebb357ba475a089b20d9a422285aa3b61b82d3aa 100644 (file)
@@ -11,3 +11,5 @@ function new(user, host, stanza)
        t_insert(offlinedata, stanza);
        return datamanager.store(user, host, "offlinemsg", offlinedata);
 end
+
+return _M;
\ No newline at end of file