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

Request full album for last topic message.

This commit is contained in:
John Preston
2022-10-06 19:11:26 +04:00
parent 377b86372b
commit 032e6c57e9
16 changed files with 58 additions and 35 deletions

View File

@@ -638,15 +638,15 @@ void HistoryService::setMessageByAction(const MTPmessageAction &action) {
auto prepareTopicCreate = [&](const MTPDmessageActionTopicCreate &action) {
auto result = PreparedText{};
// #TODO forum lang
// #TODO lang-forum
result.text = { "topic created: " + qs(action.vtitle()) };
return result;
};
auto prepareTopicEdit = [&](const MTPDmessageActionTopicEdit &action) {
auto result = PreparedText{};
// #TODO forum lang
result.text = { "topic edited: " }; // #TODO forum lang
// #TODO lang-forum
result.text = { "topic edited: " };
if (const auto icon = action.vicon_emoji_id()) {
result.text.append(TextWithEntities{
"@",