fix sending link preview

This commit is contained in:
Ryan ZHAO
2021-03-09 10:50:02 +11:00
parent 4218073a69
commit 0a7fecfb52
7 changed files with 26 additions and 16 deletions

View File

@@ -196,15 +196,6 @@ public class AttachmentDatabase extends Database {
}
}
public boolean containsStickerPackId(@NonNull String stickerPackId) {
String selection = STICKER_PACK_ID + " = ?";
String[] args = new String[] { stickerPackId };
try (Cursor cursor = databaseHelper.getReadableDatabase().query(TABLE_NAME, null, selection, args, null, null, "1")) {
return cursor != null && cursor.moveToFirst();
}
}
public void setTransferProgressFailed(AttachmentId attachmentId, long mmsId)
throws MmsException
{