From 24b9b6978390799d20d7c8c918efd8072f8fd08e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Chmielowski?= Date: Fri, 29 Mar 2019 17:18:30 +0100 Subject: [PATCH] Fix issue with mam tests Too much copy/paste... --- src/mod_mam_sql.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_mam_sql.erl b/src/mod_mam_sql.erl index 72a1c3a9a..52e46f485 100644 --- a/src/mod_mam_sql.erl +++ b/src/mod_mam_sql.erl @@ -180,7 +180,7 @@ select(LServer, JidRequestor, #jid{luser = LUser} = JidArchive, _ -> jid:encode(JidArchive) end, {Query, CountQuery} = make_sql_query(User, LServer, MAMQuery, RSM, none), - do_select_query(LServer, JidRequestor, JidArchive, RSM, chat, Query, CountQuery). + do_select_query(LServer, JidRequestor, JidArchive, RSM, MsgType, Query, CountQuery). -spec select_with_mucsub(binary(), jid(), jid(), mam_query:result(), #rsm_set{} | undefined) -> -- 2.40.0