diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-12-30 17:29:57 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-12-30 17:29:57 +0200 |
commit | 208f9579118307d7749de9bf9be537bf1a1d2b27 (patch) | |
tree | 2f27f4bcfab73a996a46964da9a256e4377af322 /include/RoomInfoListItem.h | |
parent | Use qobject_cast on TimelineItem (diff) | |
download | nheko-208f9579118307d7749de9bf9be537bf1a1d2b27.tar.xz |
Re-order room list based on activity
fixes #2
Diffstat (limited to 'include/RoomInfoListItem.h')
-rw-r--r-- | include/RoomInfoListItem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/RoomInfoListItem.h b/include/RoomInfoListItem.h index bb8e0f1a..799e95bb 100644 --- a/include/RoomInfoListItem.h +++ b/include/RoomInfoListItem.h @@ -79,6 +79,7 @@ public: void setAvatar(const QImage &avatar_image); void setDescriptionMessage(const DescInfo &info); + DescInfo lastMessageInfo() const { return lastMsgInfo_; } QColor highlightedBackgroundColor() const { return highlightedBackgroundColor_; } QColor hoverBackgroundColor() const { return hoverBackgroundColor_; } |