Changeset

12259:57792ed670e7

mod_bookmarks: Fix typos in stanza error messages [codespell]
author Kim Alvefur <zash@zash.se>
date Fri, 04 Feb 2022 16:39:35 +0100
parents 12258:99560987ea19
children 12260:e729c994e7c7
files plugins/mod_bookmarks.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_bookmarks.lua	Fri Feb 04 16:39:21 2022 +0100
+++ b/plugins/mod_bookmarks.lua	Fri Feb 04 16:39:35 2022 +0100
@@ -88,7 +88,7 @@
 	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 @@
 			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