Software /
code /
prosody
Diff
tools/xep227toprosody.lua @ 11680:a3d3fb9d0d43
tools/xep227toprosody: Tweak wording in comments
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 13 Jul 2021 23:27:44 +0200 |
parent | 6870:d5b416070f70 |
line wrap: on
line diff
--- a/tools/xep227toprosody.lua Tue Jul 13 23:27:26 2021 +0200 +++ b/tools/xep227toprosody.lua Tue Jul 13 23:27:44 2021 +0200 @@ -67,7 +67,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("item") do @@ -129,7 +129,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];