2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Prepare dialogs to hold a history or a feed.

This commit is contained in:
John Preston
2018-01-04 20:15:04 +03:00
parent 6a9556d42c
commit a2891807f8
24 changed files with 727 additions and 419 deletions

View File

@@ -238,6 +238,7 @@ void ChatsListBoxController::rebuildRows() {
auto appendList = [this](auto chats) {
auto count = 0;
for_const (auto row, chats->all()) {
// #TODO feeds list
if (appendRow(row->history())) {
++count;
}
@@ -322,6 +323,7 @@ void ContactsBoxController::rebuildRows() {
auto appendList = [this](auto chats) {
auto count = 0;
for_const (auto row, chats->all()) {
// #TODO feeds list
auto history = row->history();
if (auto user = history->peer->asUser()) {
if (appendRow(user)) {