25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01:00

mod_roster: Don't set version to "not_found"

Don't include a "ver" attribute with roster pushes if no roster version
is available.
This commit is contained in:
Holger Weiss 2018-12-10 21:38:14 +01:00
parent 446ff9257c
commit 1c1694c6bf

View File

@ -231,7 +231,7 @@ roster_version(LServer, LUser) ->
case roster_version_on_db(LServer) of
true ->
case read_roster_version(LUser, LServer) of
error -> <<"not_found">>;
error -> undefined;
{ok, V} -> V
end;
false ->