remove unused function and set position to center of timeline view

This commit is contained in:
targetakhil 2021-04-15 22:32:37 +05:30
parent dff5cfc3ba
commit 9934004702
3 changed files with 7 additions and 15 deletions

View file

@ -832,17 +832,6 @@ TimelineModel::forwardMessage(QString eventId, QString roomId)
emit forwardToRoom(e, roomId, cache::isRoomEncrypted(room_id_.toStdString()));
}
QString
TimelineModel::messageContent(QString eventId)
{
auto e = events.get(eventId.toStdString(), "");
if (!e)
return "";
auto content = mtx::accessors::body(*e);
return QString::fromStdString(content);
}
void
TimelineModel::viewDecryptedRawMessage(QString id) const
{