Software /
code /
prosody
Diff
tools/jabberd14sql2prosody.lua @ 11681:e270d22b11d9
tools/jabberd14sql2prosody: Tweak wording in comments
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 13 Jul 2021 23:28:49 +0200 |
parent | 6149:2ae6e9063e88 |
child | 13142:879a6a33c21b |
line wrap: on
line diff
--- a/tools/jabberd14sql2prosody.lua Tue Jul 13 23:27:44 2021 +0200 +++ b/tools/jabberd14sql2prosody.lua Tue Jul 13 23:28:49 2021 +0200 @@ -468,7 +468,7 @@ end function store_roster(username, host, roster_items) - -- fetch current roster-table for username@host if he already has one + -- fetch current roster-table for username@host if they already have one local roster = dm.load(username, host, "roster") or {}; -- merge imported roster-items with loaded roster for item_tag in roster_items:childtags() do @@ -508,7 +508,7 @@ function store_subscription_request(username, host, presence_stanza) local from_bare = presence_stanza.attr.from; - -- fetch current roster-table for username@host if he already has one + -- fetch current roster-table for username@host if they already have one local roster = dm.load(username, host, "roster") or {}; local item = roster[from_bare];