1
1
Fork 0

Changed the option to enable the smart threading with the option to disable this

This commit is contained in:
Michael Vogel 2019-12-04 21:21:20 +01:00
commit 9cf1aea8c9
4 changed files with 17 additions and 17 deletions

View file

@ -1479,7 +1479,7 @@ function conv_sort(array $item_list, $order)
$parents[$i]['children'] = sort_item_children($parents[$i]['children']);
}
if (PConfig::get(local_user(), 'system', 'smart_threading', 0)) {
if (!PConfig::get(local_user(), 'system', 'no_smart_threading', 0)) {
foreach ($parents as $i => $parent) {
$parents[$i] = smart_flatten_conversation($parent);
}