Use the new libquotient version of the serveracl event

Use with https://github.com/quotient-im/libQuotient/pull/729
This commit is contained in:
James Graham
2024-05-08 16:31:19 +00:00
committed by Tobias Fella
parent 3dd28a0382
commit e9263fc596
3 changed files with 2 additions and 18 deletions

View File

@@ -23,7 +23,6 @@
#include "eventhandler_logging.h"
#include "events/locationbeaconevent.h"
#include "events/pollevent.h"
#include "events/serveraclevent.h"
#include "events/widgetevent.h"
#include "linkpreviewer.h"
#include "messagecomponenttype.h"
@@ -440,7 +439,7 @@ QString EventHandler::getBody(const Quotient::RoomEvent *event, Qt::TextFormat f
[](const LocationBeaconEvent &e) {
return e.contentJson()["description"_ls].toString();
},
[](const ServerAclEvent &) {
[](const RoomServerAclEvent &) {
return i18n("changed the server access control lists for this room");
},
[](const WidgetEvent &e) {
@@ -609,7 +608,7 @@ QString EventHandler::getGenericBody() const
[](const LocationBeaconEvent &) {
return i18n("sent a live location beacon");
},
[](const ServerAclEvent &) {
[](const RoomServerAclEvent &) {
return i18n("changed the server access control lists for this room");
},
[](const WidgetEvent &e) {