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:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user