mod_bookmarks: Fix typos in stanza error messages [codespell]
authorKim Alvefur <zash@zash.se>
Fri, 04 Feb 2022 16:39:35 +0100
changeset 12263 57792ed670e7
parent 12262 99560987ea19
child 12264 e729c994e7c7
mod_bookmarks: Fix typos in stanza error messages [codespell]
plugins/mod_bookmarks.lua
--- 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