diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-08-14 00:26:57 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-08-14 00:26:57 +0300 |
commit | 9c28ba28a8738cea5b6a79e60d124c4728b7abc5 (patch) | |
tree | b398c4d2f1d6de77a2508d404e3f067b1ccc14d0 /include | |
parent | Don't overwrite last user (diff) | |
download | nheko-9c28ba28a8738cea5b6a79e60d124c4728b7abc5.tar.xz |
Update the last sender from the initial pagination
Diffstat (limited to 'include')
-rw-r--r-- | include/RoomInfoListItem.h | 1 | ||||
-rw-r--r-- | include/TimelineView.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/RoomInfoListItem.h b/include/RoomInfoListItem.h index af02126a..be7fe866 100644 --- a/include/RoomInfoListItem.h +++ b/include/RoomInfoListItem.h @@ -28,6 +28,7 @@ struct DescInfo { QString username; + QString userid; QString body; QString timestamp; }; diff --git a/include/TimelineView.h b/include/TimelineView.h index 628b3e0d..6e92993d 100644 --- a/include/TimelineView.h +++ b/include/TimelineView.h @@ -109,8 +109,8 @@ private: ScrollBar *scrollbar_; QWidget *scroll_widget_; - QString last_sender_; - QString last_sender_backwards_; + QString lastSender_; + QString firstSender_; QString room_id_; QString prev_batch_token_; QString local_user_; |