mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 13:08:48 +03:00
fixup bad room list translation commit
This commit is contained in:
parent
2279484697
commit
bde71a6cbc
2 changed files with 0 additions and 4 deletions
|
@ -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 a new issue