1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 17:59:31 +02:00

Fix a typo in mod_caps

This commit is contained in:
Evgeniy Khramtsov 2018-01-23 23:20:10 +03:00
parent 6cdb7b4468
commit 1f6c0022dd

View file

@ -136,7 +136,7 @@ user_receive_packet({#presence{from = From, type = available} = Pkt,
case read_caps(Pkt) of case read_caps(Pkt) of
nothing -> ok; nothing -> ok;
#caps{version = Version, exts = Exts} = Caps -> #caps{version = Version, exts = Exts} = Caps ->
feature_request(LServer, From, To, Caps, [Version | Exts]) feature_request(LServer, To, From, Caps, [Version | Exts])
end; end;
true -> ok true -> ok
end, end,