mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Show local sending messages in replies section.
This commit is contained in:
@@ -1338,6 +1338,10 @@ void History::unregisterLocalMessage(not_null<HistoryItem*> item) {
|
||||
session().changes().historyUpdated(this, UpdateFlag::LocalMessages);
|
||||
}
|
||||
|
||||
const base::flat_set<not_null<HistoryItem*>> &History::localMessages() {
|
||||
return _localMessages;
|
||||
}
|
||||
|
||||
HistoryItem *History::latestSendingMessage() const {
|
||||
auto sending = ranges::view::all(
|
||||
_localMessages
|
||||
|
Reference in New Issue
Block a user