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