From 696d341f793c3240cbaa226a3ed50509dafd3e84 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sun, 1 Jan 2023 09:37:31 -0800 Subject: [PATCH] DMs: maybe fix sorting bug Changlog-Fixed: Potential fix for DM sorting issue --- damus/Models/HomeModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Models/HomeModel.swift b/damus/Models/HomeModel.swift index 1b0bdb2..1c5a897 100644 --- a/damus/Models/HomeModel.swift +++ b/damus/Models/HomeModel.swift @@ -423,7 +423,7 @@ class HomeModel: ObservableObject { if a.1.events.count > 0 && b.1.events.count > 0 { return a.1.events.last!.created_at > b.1.events.last!.created_at } - return true + return false } } }