mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-02 21:17:12 +02:00
minor improvement for best readability
SVN Revision: 2014
This commit is contained in:
parent
549fa6e836
commit
cd6587d9df
|
@ -186,10 +186,9 @@ receive_packet(From, To, {xmlelement, "presence", Attrs, Els}) ->
|
||||||
"unsubscribed" ->
|
"unsubscribed" ->
|
||||||
ok;
|
ok;
|
||||||
"unavailable" ->
|
"unavailable" ->
|
||||||
mod_caps:clear_caps(From);
|
clear_caps(From);
|
||||||
_ ->
|
_ ->
|
||||||
Caps = mod_caps:read_caps(Els),
|
note_caps(To#jid.lserver, From, read_caps(Els))
|
||||||
mod_caps:note_caps(To#jid.lserver, From, Caps)
|
|
||||||
end;
|
end;
|
||||||
receive_packet(_, _, _) ->
|
receive_packet(_, _, _) ->
|
||||||
ok.
|
ok.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user