summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2019-11-02 21:14:22 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2019-11-23 20:06:15 +0100
commitbde71a6cbcce17005c464d3cb77a8d8e5d3a8566 (patch)
treeb05353e8814027efa5df7c6eb6325908407411ed /src
parentRemove unused import (diff)
downloadnheko-bde71a6cbcce17005c464d3cb77a8d8e5d3a8566.tar.xz
fixup bad room list translation commit
Diffstat (limited to 'src')
-rw-r--r--src/Cache.h1
-rw-r--r--src/Utils.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/Cache.h b/src/Cache.h

index 0da49793..f5e1cfa0 100644 --- a/src/Cache.h +++ b/src/Cache.h
@@ -91,7 +91,6 @@ from_json(const json &j, ReadReceiptKey &key) struct DescInfo { QString event_id; - QString username; QString userid; QString body; QString timestamp; diff --git a/src/Utils.h b/src/Utils.h
index 8cb891cc..007126c3 100644 --- a/src/Utils.h +++ b/src/Utils.h
@@ -169,9 +169,6 @@ template<class T, class Event> DescInfo createDescriptionInfo(const Event &event, const QString &localUser, const QString &room_id) { - using Text = mtx::events::RoomEvent<mtx::events::msg::Text>; - using Emote = mtx::events::RoomEvent<mtx::events::msg::Emote>; - const auto msg = boost::get<T>(event); const auto sender = QString::fromStdString(msg.sender);