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
1 changed files with 1 additions and 1 deletions

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 ->