BUGFIX: Sorting Function #176

Слито
dan слито 1 коммит(ов) из sorting в master 2018-12-06 01:03:24 +00:00
sarah прокомментировал(а) 2018-12-05 23:14:46 +00:00
Владелец

Sorting is inaccurate if we don't short circuit on Before (I mistakenly removed this check to fix p2p timelines and it created weird sorting rules in group timelines in the UI).

This also adds an explicit sorting function that should probably never be called (it's effectively a noop in the average case) except in cases where sorting rules change and we have prior saved messages. There are probably much better ways to do this (i.e. when we load from a profile, go through and sort everything) - but I'd rather not focus on building out that functionality right now.

Sorting is inaccurate if we don't short circuit on Before (I mistakenly removed this check to fix p2p timelines and it created weird sorting rules in group timelines in the UI). This also adds an explicit sorting function that should probably never be called (it's effectively a noop in the average case) except in cases where sorting rules change and we have prior saved messages. There are probably much better ways to do this (i.e. when we load from a profile, go through and sort everything) - but I'd rather not focus on building out that functionality right now.
buildbot прокомментировал(а) 2018-12-05 23:20:52 +00:00
Участник
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/317
dan прокомментировал(а) 2018-12-06 01:03:22 +00:00
Владелец

its a slow noop tho as it still does a full order check on the entire timeline?
yeah I hope we dont need call it

its a slow noop tho as it still does a full order check on the entire timeline? yeah I hope we dont need call it
dan закрыл этот запрос на слияние 2018-12-06 01:03:24 +00:00
Войдите, чтобы присоединиться к обсуждению.
Нет рецензентов
Нет этапа
Нет назначенных лиц
3 участников
Уведомления
Срок выполнения
Срок действия недействителен или находится за пределами допустимого диапазона. Пожалуйста, используйте формат 'гггг-мм-дд'.

Срок выполнения не установлен.

Зависимости

Зависимостей нет.

Ссылка: cwtch.im/cwtch#176
Описание отсутствует.