Skip to content

Custom attributes on RemoteBoxFile #4

@NotStatilko

Description

@NotStatilko

We have a 255-byte field called comment. I suggest to use it for determining file types.

My thoughts about this:

  1. ;msg; determines that this file is Text-message;
  2. ;rep;5; determines that this file is Reply to another file with ID=5;
  3. ;1;alb;{alb_id}; determines that this file is part of Album. 1 here is order. alb_id is unique Album ID. Maybe 4 random bytes?
  4. ;pubkey;sgn;signature; determines that this file was signed by pubkey.
  5. ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    team workMake it in teamtodoNon-critical things that we need to change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions