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:
parent
ffa07c649b
commit
86fc2f157e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user