Software /
code /
prosody
Diff
tools/ejabberd2prosody.lua @ 12387:05c250fa335a
Spelling: Fix various spelling mistakes (thanks timeless)
Words, sometimes I wonder how they even work
Maybe I missed something.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 07 Mar 2022 00:13:56 +0100 |
parent | 11871:5dcbba569fb9 |
line wrap: on
line diff
--- a/tools/ejabberd2prosody.lua Sun Mar 06 15:13:50 2022 +0100 +++ b/tools/ejabberd2prosody.lua Mon Mar 07 00:13:56 2022 +0100 @@ -187,7 +187,7 @@ for _,aff in ipairs(properties.affiliations) do store._affiliations[build_jid(aff[1])] = aff[2][1] or aff[2]; end - -- destructre ejabberd's subject datum (e.g. [{text,<<>>,<<"my room subject">>}] ) + -- destructure ejabberd's subject datum (e.g. [{text,<<>>,<<"my room subject">>}] ) store._data.subject = properties.subject[1][3]; if properties.subject_author then store._data.subject_from = store.jid .. "/" .. properties.subject_author;