🐛 Fix checking for update db issue

This commit is contained in:
LittleSheep 2025-02-23 21:10:18 +08:00
parent 5bdd8e94fa
commit 2c5dd0563a

View File

@ -322,6 +322,7 @@ class ChatMessageController extends ChangeNotifier {
notifyListeners();
final mostRecentMessage = await (_dt.db.snLocalChatMessage.select()
..where((e) => e.channelId.equals(channel!.id))
..limit(1)
..orderBy([
(e) =>