Software /
code /
prosody
Comparison
plugins/muc/muc.lib.lua @ 9862:f5623a1b33e5
MUC: Update error message for consistency
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 18 Mar 2019 09:50:23 +0000 |
parent | 9831:43f81e85cec2 |
child | 10048:e5532fbdd163 |
comparison
equal
deleted
inserted
replaced
9861:84916bbe5985 | 9862:f5623a1b33e5 |
---|---|
496 local muc_x = stanza:get_child("x", "http://jabber.org/protocol/muc"); | 496 local muc_x = stanza:get_child("x", "http://jabber.org/protocol/muc"); |
497 | 497 |
498 if orig_occupant == nil and not muc_x and stanza.attr.type == nil then | 498 if orig_occupant == nil and not muc_x and stanza.attr.type == nil then |
499 module:log("debug", "Attempted join without <x>, possibly desynced"); | 499 module:log("debug", "Attempted join without <x>, possibly desynced"); |
500 origin.send(st.error_reply(stanza, "cancel", "item-not-found", | 500 origin.send(st.error_reply(stanza, "cancel", "item-not-found", |
501 "You must join the room before sending presence updates")); | 501 "You are not currently connected to this chat")); |
502 return true; | 502 return true; |
503 end | 503 end |
504 | 504 |
505 local is_first_dest_session; | 505 local is_first_dest_session; |
506 local dest_occupant; | 506 local dest_occupant; |