diff options
author | Kim Alvefur <zash@zash.se> | 2016-04-12 19:35:55 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-04-12 19:35:55 +0200 |
commit | 0e905606b9bf28b8744ec13bcf586678d247a027 (patch) | |
tree | b27f8273dc93524710b2f58e100be3b7d86679f2 /plugins/muc/mod_muc.lua | |
parent | 7f668a8d577b71115bf3193b7c34bee75b61fdf1 (diff) | |
download | prosody-0e905606b9bf28b8744ec13bcf586678d247a027.tar.gz prosody-0e905606b9bf28b8744ec13bcf586678d247a027.zip |
MUC: Move history to room._history
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r-- | plugins/muc/mod_muc.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index 74909d9b..871b90b4 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -102,15 +102,12 @@ local function room_save(room, forced) local is_persistent = persistent.get(room); persistent_rooms:set(nil, room.jid, is_persistent); if is_persistent then - local room_history = room._data.history; - room._data.history = nil; local data = { jid = room.jid; _data = room._data; _affiliations = room._affiliations; }; room_configs:set(node, data); - room._data.history = room_history; elseif forced then room_configs:set(node, nil); if not next(room._occupants) then -- Room empty |