fixup bad room list translation commit
This commit is contained in:
parent
2279484697
commit
bde71a6cbc
@ -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;
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user