libQuotient
A Qt library for building matrix clients
Quotient::FileMetadataMap Namespace Reference

Functions

QUOTIENT_API void add (const QString &roomId, const QString &eventId, const EncryptedFileMetadata &fileMetadata)
 
QUOTIENT_API void remove (const QString &roomId, const QString &eventId)
 
QUOTIENT_API EncryptedFileMetadata lookup (const QString &roomId, const QString &eventId)
 Obtain file source information across connections, thread-safely. More...
 

Function Documentation

◆ add()

QUOTIENT_API void Quotient::FileMetadataMap::add ( const QString &  roomId,
const QString &  eventId,
const EncryptedFileMetadata fileMetadata 
)

◆ lookup()

QUOTIENT_API EncryptedFileMetadata Quotient::FileMetadataMap::lookup ( const QString &  roomId,
const QString &  eventId 
)

Obtain file source information across connections, thread-safely.

Returns
the previously saved EncryptedFileMetadata object, or an invalid (default-constructed) object in case of unsuccessful lookup

◆ remove()

QUOTIENT_API void Quotient::FileMetadataMap::remove ( const QString &  roomId,
const QString &  eventId 
)