Add description to feature-not-implemented error

This commit is contained in:
Evgeniy Khramtsov 2017-04-05 15:19:00 +03:00
parent 6fa55e7c38
commit ad948d33c0
1 changed files with 2 additions and 1 deletions

View File

@ -518,7 +518,8 @@ process_iq(LServer, #iq{from = #jid{luser = LUser}, lang = Lang,
end,
case SubEl of
#mam_query{rsm = #rsm_set{index = I}} when is_integer(I) ->
xmpp:make_error(IQ, xmpp:err_feature_not_implemented());
Txt = <<"Unsupported <index/> element">>,
xmpp:make_error(IQ, xmpp:err_feature_not_implemented(Txt, Lang));
#mam_query{rsm = RSM, xmlns = NS} ->
case parse_query(SubEl, Lang) of
{ok, Query} ->