fixup bad room list translation commit

This commit is contained in:
Nicolas Werner 2019-11-02 21:14:22 +01:00
parent 2279484697
commit bde71a6cbc
2 changed files with 0 additions and 4 deletions

View file

@ -91,7 +91,6 @@ from_json(const json &j, ReadReceiptKey &key)
struct DescInfo struct DescInfo
{ {
QString event_id; QString event_id;
QString username;
QString userid; QString userid;
QString body; QString body;
QString timestamp; QString timestamp;

View file

@ -169,9 +169,6 @@ template<class T, class Event>
DescInfo DescInfo
createDescriptionInfo(const Event &event, const QString &localUser, const QString &room_id) 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 msg = boost::get<T>(event);
const auto sender = QString::fromStdString(msg.sender); const auto sender = QString::fromStdString(msg.sender);