2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

PoC confcall invite, emoji.

This commit is contained in:
John Preston
2025-03-28 22:13:53 +05:00
parent dfe6ad3a32
commit 4401ea388c
11 changed files with 238 additions and 42 deletions

View File

@@ -52,6 +52,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "mainwindow.h"
#include "main/main_session.h"
#include "window/notifications_manager.h"
#include "window/window_session_controller.h"
#include "calls/calls_instance.h"
#include "spellcheck/spellcheck_types.h"
#include "storage/localstorage.h"
@@ -1225,6 +1226,12 @@ void History::applyServiceChanges(
topic->setHidden(mtpIsTrue(*hidden));
}
}
}, [&](const MTPDmessageActionConferenceCall &data) {
if (!data.is_active() && !data.is_missed()) {
if (const auto window = session().tryResolveWindow()) {
window->resolveConferenceCall(qs(data.vslug()), item->id);
}
}
}, [](const auto &) {
});
}