mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Implement proper shortcut management.
This commit is contained in:
@@ -1560,6 +1560,8 @@ void Updates::feedUpdate(const MTPUpdate &update) {
|
||||
if (const auto local = owner.message(id)) {
|
||||
if (local->isScheduled()) {
|
||||
session().data().scheduledMessages().apply(d, local);
|
||||
} else if (local->isBusinessShortcut()) {
|
||||
session().data().shortcutMessages().apply(d, local);
|
||||
} else {
|
||||
const auto existing = session().data().message(
|
||||
id.peer,
|
||||
|
Reference in New Issue
Block a user