mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-25 05:27:42 +00:00
Fix image cache bugs.
1) Index SlideDeckListener cache by MMS (id, timestamp) tuple. 2) Index parts by (id, content_id) tuples. Fixes #840 Closes #3183 // FREEBIE
This commit is contained in:
@@ -142,6 +142,7 @@ public class PduPart {
|
||||
*/
|
||||
public PduPart() {
|
||||
mPartHeader = new HashMap<Integer, Object>();
|
||||
setContentId(String.valueOf(System.currentTimeMillis()).getBytes());
|
||||
}
|
||||
|
||||
public void setEncrypted(boolean isEncrypted) {
|
||||
|
||||
Reference in New Issue
Block a user