This commit is contained in:
Evgeniy Khramtsov 2017-10-27 08:12:24 +03:00
parent 9eb2685f90
commit a8238d6a54
1 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ process_iq(#iq{from = #jid{lserver = LServer} = JID,
ok ->
xmpp:make_iq_result(IQ);
{error, db_failure} ->
Txt = <<"Database, failure">>,
Txt = <<"Database failure">>,
xmpp:make_error(IQ, xmpp:err_internal_server_error(Txt, Lang));
{error, notfound} ->
Txt = <<"User session not found">>,
@ -276,7 +276,7 @@ process_iq(#iq{from = #jid{lserver = LServer} = JID,
ok ->
xmpp:make_iq_result(IQ);
{error, db_failure} ->
Txt = <<"Database, failure">>,
Txt = <<"Database failure">>,
xmpp:make_error(IQ, xmpp:err_internal_server_error(Txt, Lang));
{error, notfound} ->
Txt = <<"Push record not found">>,