mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
fix: update submodules
fix: make it compile
This commit is contained in:
@@ -510,11 +510,17 @@ void History::destroyMessage(not_null<HistoryItem*> item) {
|
||||
flags |= MessageFlag::Post;
|
||||
}
|
||||
|
||||
FullReplyTo replyTo = {
|
||||
.msgId = item->id,
|
||||
.topicRootId = item->topicRootId(),
|
||||
.storyId = {}
|
||||
};
|
||||
|
||||
addNewLocalMessage(
|
||||
session().data().nextLocalMessageId(),
|
||||
flags,
|
||||
UserId(),
|
||||
item->id,
|
||||
replyTo,
|
||||
base::unixtime::now(),
|
||||
item->author()->id,
|
||||
"AyuGram"_q,
|
||||
|
||||
@@ -802,7 +802,7 @@ void MainMenu::setupMenu() {
|
||||
});
|
||||
addAction(
|
||||
rpl::single(QString("LRead Messages")),
|
||||
{&st::settingsIconForward, kIconPurple}
|
||||
{ &st::menuIconMarkRead }
|
||||
)->setClickedCallback([=]
|
||||
{
|
||||
auto settings = &AyuSettings::getInstance();
|
||||
@@ -816,7 +816,7 @@ void MainMenu::setupMenu() {
|
||||
});
|
||||
addAction(
|
||||
rpl::single(QString("SRead Messages")),
|
||||
{&st::settingsIconForward, kIconPurple}
|
||||
{ &st::menuIconMarkRead }
|
||||
)->setClickedCallback([=]
|
||||
{
|
||||
auto box = Box<AyuUi::ConfirmationBox>(controller);
|
||||
@@ -888,7 +888,7 @@ void MainMenu::setupMenu() {
|
||||
{
|
||||
_ghostModeToggle = addAction(
|
||||
tr::ayu_DrawerGhostModeToggle(),
|
||||
{&st::ayuGhostIcon, kIconPurple}
|
||||
{ &st::menuIconSilent } // todo: fix `ayuGhostIcon`
|
||||
)->toggleOn(AyuSettings::get_ghostModeEnabledReactive());
|
||||
|
||||
_ghostModeToggle->toggledChanges(
|
||||
|
||||
Vendored
+1
-1
Submodule Telegram/ThirdParty/GSL updated: a353456718...09938e8704
Vendored
+1
-1
Submodule Telegram/ThirdParty/tgcalls updated: 2e2797648a...258cf9b352
+1
-1
Submodule Telegram/lib_base updated: 9aaee89076...2669a04579
+1
-1
Submodule Telegram/lib_ui updated: 435b884b8b...9f91b83c4c
+1
-1
Submodule Telegram/lib_webview updated: 5c3e82bfe7...ebb8b8b91f
+1
-1
Submodule cmake updated: f20e647e29...0620bb7b87
Reference in New Issue
Block a user