diff --git a/src/libclient/document.cpp b/src/libclient/document.cpp index afc72df5fd..00634fa7cd 100644 --- a/src/libclient/document.cpp +++ b/src/libclient/document.cpp @@ -1223,7 +1223,8 @@ net::MessageList Document::generateStreamSnapshot( } void Document::startSendingStreamResetSnapshot( - const net::MessageList &image, int messageCount, const QString &correlator) + const QVector &image, int messageCount, + const QString &correlator) { if(m_streamResetState == StreamResetState::Generating && m_autoResetCorrelator == correlator) { diff --git a/src/libshared/net/message.h b/src/libshared/net/message.h index c401a9a505..c8da5e678f 100644 --- a/src/libshared/net/message.h +++ b/src/libshared/net/message.h @@ -4,6 +4,7 @@ extern "C" { #include } +#include #include class QByteArray; @@ -131,4 +132,6 @@ makeTrustedUsersMessage(uint8_t contextId, const QVector &users); } +Q_DECLARE_METATYPE(net::Message) + #endif