aboutsummaryrefslogtreecommitdiffstats
path: root/core/offlinemessage.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/offlinemessage.lua')
-rw-r--r--core/offlinemessage.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/offlinemessage.lua b/core/offlinemessage.lua
deleted file mode 100644
index dda9b7d8..00000000
--- a/core/offlinemessage.lua
+++ /dev/null
@@ -1,13 +0,0 @@
-
-require "util.datamanager"
-
-local datamanager = datamanager;
-local t_insert = table.insert;
-
-module "offlinemessage"
-
-function new(user, host, stanza)
- local offlinedata = datamanager.load(user, host, "offlinemsg") or {};
- t_insert(offlinedata, stanza);
- return datamanager.store(user, host, "offlinemsg", offlinedata);
-end