25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +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) -> filter_packet(Packet, State, _Nick) ->
case (State#state.config)#config.anonymous of add_occupantid_packet(Packet, State#state.jid).
true ->
add_occupantid_packet(Packet, State#state.jid);
false ->
Packet
end.
%%% %%%
%%% XEP-0421 Occupant-id %%% XEP-0421 Occupant-id