diff options
author | Minijackson <minijackson@riseup.net> | 2018-02-28 12:02:28 +0100 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2018-03-08 16:29:09 +0100 |
commit | ef3433a40e23c56a3a9c6158fde06729e7b0cd12 (patch) | |
tree | 4501dce1781895257af17464b4f76e2adbb0f20a /views | |
parent | 93e9c10d1894797b5826bbdfcc324f4235c9e193 (diff) | |
download | kube-ef3433a40e23c56a3a9c6158fde06729e7b0cd12.tar.gz kube-ef3433a40e23c56a3a9c6158fde06729e7b0cd12.zip |
Add support for adding attachments in test store
Diffstat (limited to 'views')
-rw-r--r-- | views/conversation/main.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/views/conversation/main.qml b/views/conversation/main.qml index 64f7f273..4832d500 100644 --- a/views/conversation/main.qml +++ b/views/conversation/main.qml | |||
@@ -127,6 +127,21 @@ ApplicationWindow { | |||
127 | to: ["to@example.org"], | 127 | to: ["to@example.org"], |
128 | unread: true | 128 | unread: true |
129 | }, | 129 | }, |
130 | { | ||
131 | resource: "resource1", | ||
132 | date: "2017-07-20T17:47:29", | ||
133 | subject: "WithAttachment", | ||
134 | body: "Hi Mélanie,\n\nI'm sorry to start this on such late notice, but we'd like to get Foo and boo to woo next week, because the following weeks are unfortunately not possible for us.\n", | ||
135 | to: ["to@example.org"], | ||
136 | unread: true, | ||
137 | attachments: [ | ||
138 | { | ||
139 | name: "myImage.png", | ||
140 | mimeType: "image/png", | ||
141 | data: "no real data", | ||
142 | } | ||
143 | ], | ||
144 | } | ||
130 | ] | 145 | ] |
131 | }], | 146 | }], |
132 | } | 147 | } |