Skip to content

Commit e659495

Browse files
committed
Put proper xmlns in a stanza after room creation
1 parent 4473d83 commit e659495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/muc/mod_muc_room.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2313,7 +2313,7 @@ send_new_presence_to_single(NJID, #user{jid = RealJID, nick = Nick, last_presenc
23132313
end,
23142314
Packet = jlib:append_subtags(
23152315
Presence,
2316-
[#xmlel{name = <<"x">>, attrs = #{<<"xmlns">> => ?NS_MUC},
2316+
[#xmlel{name = <<"x">>, attrs = #{<<"xmlns">> => ?NS_MUC_USER},
23172317
children = [#xmlel{name = <<"item">>, attrs = ItemAttrs,
23182318
children = ItemEls} | Status2]}]),
23192319
ejabberd_router:route(jid:replace_resource(StateData#state.jid, Nick),

0 commit comments

Comments
 (0)