aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-07-13 23:28:49 +0200
committerKim Alvefur <zash@zash.se>2021-07-13 23:28:49 +0200
commitbfa8e5b52a048ba6dd60f5aa54df14d1ee60392e (patch)
tree4708d3ddad079020e6254fc01cdd91625acbdc4f
parentc8602a046d3a144ddb788cf1249a4d12d6f55a08 (diff)
downloadprosody-bfa8e5b52a048ba6dd60f5aa54df14d1ee60392e.tar.gz
prosody-bfa8e5b52a048ba6dd60f5aa54df14d1ee60392e.zip
tools/jabberd14sql2prosody: Tweak wording in comments
-rw-r--r--tools/jabberd14sql2prosody.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/jabberd14sql2prosody.lua b/tools/jabberd14sql2prosody.lua
index e43dc296..d1d66dc1 100644
--- a/tools/jabberd14sql2prosody.lua
+++ b/tools/jabberd14sql2prosody.lua
@@ -468,7 +468,7 @@ function store_vcard(username, host, stanza)
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 @@ 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];