mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-27 11:53:23 +01:00
Document incoming and outgoing attachments fields
Note how outgoing message attachments only have 4 fields. This presumably means the others are not used in our code and could be discarded for simplicity.
This commit is contained in:
@@ -10,17 +10,25 @@ const { autoOrientImage } = require('../auto_orient_image');
|
||||
// 1 --> 2, etc., similar to how we do database migrations:
|
||||
const CURRENT_PROCESS_VERSION = 1;
|
||||
|
||||
// // Fields
|
||||
// // Incoming message attachment fields
|
||||
// {
|
||||
// id: string
|
||||
// contentType: MIMEType
|
||||
// key: ArrayBuffer
|
||||
// size: integer
|
||||
// thumbnail: ArrayBuffer
|
||||
// data: ArrayBuffer
|
||||
// digest: ArrayBuffer
|
||||
// fileName: string
|
||||
// flags: null
|
||||
// key: ArrayBuffer
|
||||
// size: integer
|
||||
// thumbnail: ArrayBuffer
|
||||
// }
|
||||
|
||||
// // Outgoing message attachment fields
|
||||
// {
|
||||
// contentType: MIMEType
|
||||
// data: ArrayBuffer
|
||||
// fileName: string
|
||||
// size: integer
|
||||
// }
|
||||
|
||||
// Middleware
|
||||
|
||||
Reference in New Issue
Block a user