summaryrefslogtreecommitdiff
path: root/src/mod_muc
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2008-01-01 17:06:26 +0000
committerBadlop <badlop@process-one.net>2008-01-01 17:06:26 +0000
commitc2e12d716bceff9aef302c43f886cf3b06596e4d (patch)
treecfe53bf764226a64e39372aa795348b945b61ed2 /src/mod_muc
parent* src/ejabberdctl.template: Create logs_dir if doesn't exist. New (diff)
* src/mod_muc/mod_muc_room.erl: Resend 'continue' elements in muc
room invitations (EJAB-490) SVN Revision: 1135
Diffstat (limited to 'src/mod_muc')
-rw-r--r--src/mod_muc/mod_muc_room.erl9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl
index c35b8636..b738cee0 100644
--- a/src/mod_muc/mod_muc_room.erl
+++ b/src/mod_muc/mod_muc_room.erl
@@ -2975,12 +2975,19 @@ check_invitation(From, Els, Lang, StateData) ->
xml:get_path_s(
InviteEl,
[{elem, "reason"}, cdata]),
+ ContinueEl =
+ case xml:get_path_s(
+ InviteEl,
+ [{elem, "continue"}]) of
+ [] -> [];
+ Continue1 -> [Continue1]
+ end,
IEl =
[{xmlelement, "invite",
[{"from",
jlib:jid_to_string(From)}],
[{xmlelement, "reason", [],
- [{xmlcdata, Reason}]}]}],
+ [{xmlcdata, Reason}]}] ++ ContinueEl}],
PasswdEl =
case (StateData#state.config)#config.password_protected of
true ->