Mercurial > prosody-hg
diff plugins/mod_bookmarks.lua @ 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 | 0aa99a6dfb3e |
| children | 1832b6c9c6ed |
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
