Add a new function to check supported Matrix spec in QML
This commit is contained in:
@@ -602,4 +602,9 @@ void NeoChatConnection::unlockSSSS(const QString &secret)
|
||||
}
|
||||
}
|
||||
|
||||
void NeoChatConnection::reportUser(const QString &userId, const QString &reason)
|
||||
{
|
||||
callApi<NeochatReportUserJob>(userId, reason);
|
||||
}
|
||||
|
||||
#include "moc_neochatconnection.cpp"
|
||||
|
||||
@@ -224,6 +224,11 @@ public:
|
||||
|
||||
Q_INVOKABLE void unlockSSSS(const QString &secret);
|
||||
|
||||
/**
|
||||
* @brief Report a user.
|
||||
*/
|
||||
Q_INVOKABLE void reportUser(const QString &userId, const QString &reason);
|
||||
|
||||
Q_SIGNALS:
|
||||
void globalUrlPreviewEnabledChanged();
|
||||
void labelChanged();
|
||||
|
||||
Reference in New Issue
Block a user