mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Add some logging for early delivery receipts.
This commit is contained in:
committed by
Alex Hart
parent
5b0084a5e2
commit
429f89cba1
@@ -2727,6 +2727,10 @@ public class MessageTable extends DatabaseTable implements MessageTypes, Recipie
|
||||
|
||||
Map<RecipientId, EarlyReceiptCache.Receipt> earlyDeliveryReceipts = earlyDeliveryReceiptCache.remove(message.getSentTimeMillis());
|
||||
|
||||
if (earlyDeliveryReceipts.size() > 0) {
|
||||
Log.w(TAG, "Found early delivery receipts for " + message.getSentTimeMillis() + ". Applying them.");
|
||||
}
|
||||
|
||||
ContentValues contentValues = new ContentValues();
|
||||
contentValues.put(DATE_SENT, message.getSentTimeMillis());
|
||||
contentValues.put(MMS_MESSAGE_TYPE, PduHeaders.MESSAGE_TYPE_SEND_REQ);
|
||||
|
||||
@@ -154,7 +154,7 @@ class RemappedRecordTables internal constructor(context: Context?, databaseHelpe
|
||||
.run()
|
||||
|
||||
if (count > 0) {
|
||||
Log.w(TAG, "Deleted $count invalid recipient mappings!", true)
|
||||
Log.w(TAG, "Deleted $count invalid thread mappings!", true)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user