mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Support basic feed display in chats list.
This commit is contained in:
@@ -58,6 +58,9 @@ public:
|
||||
Data::Feed *feed() const {
|
||||
return _id.feed();
|
||||
}
|
||||
not_null<Entry*> entry() const {
|
||||
return _id.entry();
|
||||
}
|
||||
QString name() const {
|
||||
return _id.name();
|
||||
}
|
||||
@@ -65,7 +68,7 @@ public:
|
||||
return _pos;
|
||||
}
|
||||
uint64 sortKey() const {
|
||||
return _id.sortKey();
|
||||
return _id.entry()->sortKeyInChatList();
|
||||
}
|
||||
|
||||
// for any attached data, for example View in contacts list
|
||||
|
Reference in New Issue
Block a user