mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +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:
parent
446ff9257c
commit
1c1694c6bf
@ -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 ->
|
||||
|
Loading…
Reference in New Issue
Block a user