aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-02-04 16:39:35 +0100
committerKim Alvefur <zash@zash.se>2022-02-04 16:39:35 +0100
commitb44f2592ea41bd1a0e098a116d94f50b64d2c36d (patch)
treebfced160ece50b9aec1e72c49bcb0a4e2e343c79
parent0bff4f57cc13dd29530bfc916c8bd890d47262f4 (diff)
downloadprosody-b44f2592ea41bd1a0e098a116d94f50b64d2c36d.tar.gz
prosody-b44f2592ea41bd1a0e098a116d94f50b64d2c36d.zip
mod_bookmarks: Fix typos in stanza error messages [codespell]
-rw-r--r--plugins/mod_bookmarks.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_bookmarks.lua b/plugins/mod_bookmarks.lua
index ad5f459e..cd6eae67 100644
--- a/plugins/mod_bookmarks.lua
+++ b/plugins/mod_bookmarks.lua
@@ -88,7 +88,7 @@ local function on_retrieve_legacy_pep(event)
local ok, ret = service:get_items(namespace, session.full_jid);
if not ok then
module:log("error", "Failed to retrieve PEP bookmarks of %s: %s", jid, ret);
- session.send(st.error_reply(stanza, "cancel", ret, "Failed to retrive bookmarks from PEP"));
+ session.send(st.error_reply(stanza, "cancel", ret, "Failed to retrieve bookmarks from PEP"));
return true;
end
@@ -127,7 +127,7 @@ local function on_retrieve_private_xml(event)
session.send(st.reply(stanza):add_child(query));
else
module:log("error", "Failed to retrieve PEP bookmarks of %s: %s", jid, ret);
- session.send(st.error_reply(stanza, "cancel", ret, "Failed to retrive bookmarks from PEP"));
+ session.send(st.error_reply(stanza, "cancel", ret, "Failed to retrieve bookmarks from PEP"));
end
return true;
end