From 709c2f8afebe9151aa947ec53ab801c2e5be4746 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Thu, 2 Sep 2021 13:01:52 +0200 Subject: Introduced support for compressed buffer attachments --- zenserver/projectstore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zenserver/projectstore.cpp') diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp index 90ff79b30..1785aad9e 100644 --- a/zenserver/projectstore.cpp +++ b/zenserver/projectstore.cpp @@ -542,7 +542,7 @@ ProjectStore::Oplog::AppendNewOplogEntry(CbPackage OpPackage) for (const auto& Attach : Attachments) { - IoBuffer AttachmentData = Attach.AsBinaryView().AsIoBuffer(); + IoBuffer AttachmentData = Attach.AsBinary().AsIoBuffer(); CasStore::InsertResult Result = m_CasStore.InsertChunk(AttachmentData, Attach.GetHash()); const uint64_t AttachmentSize = AttachmentData.Size(); -- cgit v1.2.3