Implement sending location messages

This commit is contained in:
Tobias Fella
2023-04-09 00:44:02 +00:00
parent 419cb07557
commit f3a04635cf
5 changed files with 132 additions and 1 deletions

View File

@@ -901,4 +901,13 @@ public Q_SLOTS:
* This will delete all messages by that user in this room that are currently loaded.
*/
void deleteMessagesByUser(const QString &user, const QString &reason);
/**
* @brief Sends a location to a room
* The event is sent in the migration format as specified in MSC3488
* @param lat latitude
* @param lon longitude
* @param description description for the location
*/
void sendLocation(float lat, float lon, const QString &description);
};