25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Always add the occupant id, even in non-anonymous rooms (#3397)

This commit is contained in:
Badlop 2023-08-04 13:45:19 +02:00
parent ffa07c649b
commit 86fc2f157e

View File

@ -56,12 +56,7 @@ stop(_Host) ->
%%%
filter_packet(Packet, State, _Nick) ->
case (State#state.config)#config.anonymous of
true ->
add_occupantid_packet(Packet, State#state.jid);
false ->
Packet
end.
add_occupantid_packet(Packet, State#state.jid).
%%%
%%% XEP-0421 Occupant-id