aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-07-13 23:27:44 +0200
committerKim Alvefur <zash@zash.se>2021-07-13 23:27:44 +0200
commitc8602a046d3a144ddb788cf1249a4d12d6f55a08 (patch)
treec676e46ad923fce03a0bb337c3eda2486db4b3d6 /tools
parentd24d483908c6e878968afadc1d7c3ab944699dbc (diff)
downloadprosody-c8602a046d3a144ddb788cf1249a4d12d6f55a08.tar.gz
prosody-c8602a046d3a144ddb788cf1249a4d12d6f55a08.zip
tools/xep227toprosody: Tweak wording in comments
Diffstat (limited to 'tools')
-rwxr-xr-xtools/xep227toprosody.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/xep227toprosody.lua b/tools/xep227toprosody.lua
index 521851e9..af8e3f1c 100755
--- a/tools/xep227toprosody.lua
+++ b/tools/xep227toprosody.lua
@@ -67,7 +67,7 @@ function store_password(username, host, password)
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 @@ end
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];