annotate tests/_files/test_2.jpg @ 3499:a83a04b7394b

memory: new `getFilesOwner` method: this method is used by `getFiles` and `setFile` and fill `owner` when it's missing to avoid getting accidentally files from other users. `owner` is not filled in some case (no client, `file_id` or `parent` specified) and an exception is raised if a component has neither `owner` nor `peer_jid` specified.
author Goffi <goffi@goffi.org>
date Fri, 16 Apr 2021 18:32:37 +0200
parents a6ea53248c14
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3428
a6ea53248c14 tests: added testing files (photos)
Goffi <goffi@goffi.org>
parents:
diff changeset
1 (binary:image/jpeg)