Software /
code /
prosody
Changeset
11681:e270d22b11d9
tools/jabberd14sql2prosody: Tweak wording in comments
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 13 Jul 2021 23:28:49 +0200 |
parents | 11680:a3d3fb9d0d43 |
children | 11682:7843f1ca3b33 |
files | tools/jabberd14sql2prosody.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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];