making AccGeneralView more generic, using msg.extra for attachments

This commit is contained in:
or-else
2021-07-16 12:57:30 -07:00
parent 0cd432a52f
commit b704499308
8 changed files with 399 additions and 389 deletions
+3
View File
@@ -987,6 +987,9 @@ class TinodeWeb extends React.Component {
const params = {};
if (pub) {
params.public = pub;
if (pub.photo && pub.photo.ref) {
params.attachments = [pub.photo.ref];
}
}
if (defacs) {
params.defacs = defacs;