kopia lustrzana https://github.com/ryukoposting/Signal-Android
Add some logging for early delivery receipts.
rodzic
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue