From 517de81ac43a30c49d552f8627b3da88c3c88888 Mon Sep 17 00:00:00 2001 From: Black Date: Sat, 21 Mar 2020 13:39:05 -0700 Subject: [PATCH] Update libQuotient. --- include/libQuotient | 2 +- src/spectralroom.cpp | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/libQuotient b/include/libQuotient index 9bcf0cbc3..d06bbd663 160000 --- a/include/libQuotient +++ b/include/libQuotient @@ -1 +1 @@ -Subproject commit 9bcf0cbc3d690663d37d1737173ab5088fed152f +Subproject commit d06bbd6633eea048e35421b1785e96468c3cf5c0 diff --git a/src/spectralroom.cpp b/src/spectralroom.cpp index c21d92c58..3c4e58d9b 100644 --- a/src/spectralroom.cpp +++ b/src/spectralroom.cpp @@ -22,6 +22,7 @@ #include "events/roommessageevent.h" #include "events/typingevent.h" #include "events/roompowerlevelsevent.h" +#include "events/roomcanonicalaliasevent.h" #include "jobs/downloadfilejob.h" #include "user.h" #include "utils.h" @@ -351,10 +352,6 @@ QString SpectralRoom::eventToString(const RoomEvent& evt, } return tr("made something unknown"); }, - [](const RoomAliasesEvent& e) { - return tr("has set room aliases on server %1 to: %2") - .arg(e.stateKey(), QLocale().createSeparatedList(e.aliases())); - }, [](const RoomCanonicalAliasEvent& e) { return (e.alias().isEmpty()) ? tr("cleared the room main alias")