-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DB schema rework for GDPR MAM MUC retrieval #2326
Changes from all commits
0cae825
da0f7bc
2ae5749
e747471
5998257
60a0e1a
67692ae
2f4e99b
d100f15
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -379,7 +379,7 @@ init_per_group(G, Config) when G =:= http_auth_no_server; | |
init_per_group(hibernation, Config) -> | ||
case mam_helper:backend() of | ||
rdbms -> | ||
dynamic_modules:start(domain(), mod_mam_muc_rdbms_arch, [muc, simple]), | ||
dynamic_modules:start(domain(), mod_mam_muc_rdbms_arch, [muc]), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. simple option was removed a while ago, so it's simply ignored. |
||
dynamic_modules:start(domain(), mod_mam_rdbms_prefs, [muc]), | ||
dynamic_modules:start(domain(), mod_mam_rdbms_user, [muc]), | ||
dynamic_modules:start(domain(), mod_mam_muc, [{host, "muc.@HOST@"}]); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -274,7 +274,7 @@ to_list(V) when is_list(V) -> | |
V. | ||
|
||
maybe_enable_mam(rdbms, Host, Config) -> | ||
init_module(Host, mod_mam_rdbms_arch, [muc, pm, simple]), | ||
init_module(Host, mod_mam_rdbms_arch, [muc, pm]), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. simple option was removed a while ago, so it's simply ignored. |
||
init_module(Host, mod_mam_rdbms_prefs, [muc, pm]), | ||
init_module(Host, mod_mam_rdbms_user, [muc, pm]), | ||
init_module(Host, mod_mam, []), | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why JID format had to be changed here? Or is it just for sake of completeness?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
simple option was removed a while ago, so it's simply ignored.
{db_jid_format, mam_jid_rfc}, {db_message_format, mam_message_xml}
options should be used instead