BUGFIX: Sorting Function #176

マージ済み
dan が 1 個のコミットを sorting から master へマージ 2018-12-06 01:03:24 +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.
メンバー
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/317
オーナー

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 人の参加者
通知
期日
期日が正しくないか範囲を超えています。 'yyyy-mm-dd' の形式で入力してください。

期日は未設定です。

依存関係

依存関係が設定されていません。

リファレンス: cwtch.im/cwtch#176
説明はありません。