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