This commit is contained in:
ryanzhao 2021-08-16 11:59:52 +10:00
parent feff1c8393
commit 4ce1bd6875
2 changed files with 1 additions and 4 deletions

View File

@ -128,9 +128,7 @@ public class MmsSmsDatabase extends Database {
public Cursor getConversationSnippet(long threadId) {
String order = MmsSmsColumns.NORMALIZED_DATE_RECEIVED + " DESC";
String selection = MmsSmsColumns.THREAD_ID + " = " + threadId;
// FIXME: Not sure if this will cause any performance issues
// return queryTables(PROJECTION, selection, order, "1");
return queryTables(PROJECTION, selection, order, null);
}

View File

@ -161,7 +161,6 @@ fun MessageReceiver.handleUnsendRequest(message: UnsendRequest) {
}
messageDataProvider.updateMessageAsDeleted(timestamp, author)
if (!messageDataProvider.isOutgoingMessage(messageIdToDelete)) {
// FIXME: Not sure if there is any performance issue here
SSKEnvironment.shared.notificationManager.updateNotification(context)
}
}