Diff

mod_storage_xmlarchive/mod_storage_xmlarchive.lua @ 2289:aa984980a4dc

mod_storage_xmlarchive: Include the missing append_raw() for 0.9 compatibility
author Kim Alvefur <zash@zash.se>
date Tue, 23 Aug 2016 17:54:00 +0200
parent 2271:b34f4591366a
child 2290:4786bf0a9334
line wrap: on
line diff
--- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua	Tue Aug 23 02:13:34 2016 +0200
+++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua	Tue Aug 23 17:54:00 2016 +0200
@@ -12,6 +12,10 @@
 local new_stream = require "util.xmppstream".new;
 local empty = {};
 
+if not dm.append_raw then
+	module:require"datamanager_append_raw";
+end
+
 local archive = {};
 local archive_mt = { __index = archive };