mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 11:49:04 +01:00
[android] move unsent attachment cache logic into AttachmentController
This commit is contained in:
@@ -163,7 +163,7 @@ class MessagingManagerImpl extends ConversationClientImpl
|
||||
if (is.available() == 0) throw new IOException();
|
||||
byte[] b = new byte[MessageId.LENGTH];
|
||||
new Random().nextBytes(b);
|
||||
return new AttachmentHeader(new MessageId(b), "image/png");
|
||||
return new AttachmentHeader(new MessageId(b), contentType);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user