mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Send presence with code 170 only in initial presence from MUC
This commit is contained in:
parent
d3ee2a9c18
commit
dc52ec904c
@ -2217,7 +2217,8 @@ send_new_presence1(NJID, Reason, StateData, OldStateData) ->
|
||||
| Status2];
|
||||
false -> Status2
|
||||
end,
|
||||
Status4 = case (StateData#state.config)#config.logging of
|
||||
Status4 = case (StateData#state.config)#config.logging == true
|
||||
andalso NJID == Info#user.jid of
|
||||
true ->
|
||||
[#xmlel{name = <<"status">>,
|
||||
attrs =
|
||||
|
Loading…
Reference in New Issue
Block a user