Merge pull request #1299 from Bilb/fix-open-group-attachment

fix multiple attachment signature in open group with mobile
pull/1301/head
Audric Ackermann 5 years ago committed by GitHub
commit d1e4bee90d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1710,8 +1710,9 @@ class LokiPublicChannelAPI {
sigString += [...attachmentAnnotations, ...previewAnnotations] sigString += [...attachmentAnnotations, ...previewAnnotations]
.map(data => data.id || data.image.id) .map(data => data.id || data.image.id)
.sort() .sort()
.join(); .join('');
sigString += sigVer; sigString += sigVer;
return dcodeIO.ByteBuffer.wrap(sigString, 'utf8').toArrayBuffer(); return dcodeIO.ByteBuffer.wrap(sigString, 'utf8').toArrayBuffer();
} }

Loading…
Cancel
Save