projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21065ee
)
tools/ejabberd2prosody: Handle new room member format.
author
Kim Alvefur
<zash@zash.se>
Mon, 27 Jan 2014 15:47:54 +0000
(16:47 +0100)
committer
Kim Alvefur
<zash@zash.se>
Mon, 27 Jan 2014 15:47:54 +0000
(16:47 +0100)
tools/ejabberd2prosody.lua
patch
|
blob
|
history
diff --git
a/tools/ejabberd2prosody.lua
b/tools/ejabberd2prosody.lua
index bc916fb874eba3625158b5f1c5615b4d9cc4789f..be1504b270c8ac7b61de062431885b519c0348a5 100755
(executable)
--- a/
tools/ejabberd2prosody.lua
+++ b/
tools/ejabberd2prosody.lua
@@
-163,7
+163,7
@@
end
function muc_room(node, host, properties)
local store = { jid = node.."@"..host, _data = {}, _affiliations = {} };
for _,aff in ipairs(properties.affiliations) do
- store._affiliations[_table_to_jid(aff[1])] = aff[2];
+ store._affiliations[_table_to_jid(aff[1])] = aff[2]
[1] or aff[2]
;
end
store._data.subject = properties.subject;
if properties.subject_author then