Tweak textarea.
This commit is contained in:
@@ -142,6 +142,8 @@ void SpectralRoom::sendReply(QString userId, QString eventId,
|
||||
}
|
||||
|
||||
QDateTime SpectralRoom::lastActiveTime() {
|
||||
if (timelineSize() == 0) return QDateTime();
|
||||
return messageEvents().rbegin()->get()->timestamp();
|
||||
if (timelineSize() == 0) return QDateTime();
|
||||
return messageEvents().rbegin()->get()->timestamp();
|
||||
}
|
||||
|
||||
float SpectralRoom::orderForTag(QString name) { return tag(name).order; }
|
||||
|
||||
@@ -37,6 +37,8 @@ class SpectralRoom : public Room {
|
||||
|
||||
QDateTime lastActiveTime();
|
||||
|
||||
Q_INVOKABLE float orderForTag(QString name);
|
||||
|
||||
private:
|
||||
QString m_cachedInput;
|
||||
QSet<const QMatrixClient::RoomEvent*> highlights;
|
||||
|
||||
Reference in New Issue
Block a user