mod_mam_sql: Only provide the new XEP-0431 fulltext field, not old custom withtext

This commit is contained in:
Badlop
2026-02-19 19:56:20 +01:00
parent 95d8f6c531
commit 160cd976b4
+1 -2
View File
@@ -286,8 +286,7 @@ delete_old_messages(ServerHost, TimeStamp, Type) ->
extended_fields(LServer) ->
case ejabberd_option:sql_type(LServer) of
mysql ->
[{withtext, <<"">>},
#xdata_field{var = <<"{urn:xmpp:fulltext:0}fulltext">>,
[#xdata_field{var = <<"{urn:xmpp:fulltext:0}fulltext">>,
type = 'text-single',
label = <<"Search the text">>,
values = []}];