Modern UI contract: mailbox messages and news.update
The news read carries the desk manager's mailbox as the contract's messages with ids that survive the original's compaction. news.update marks a message read or unread, moves it to the trash and back (saved marks; the message stays in the original mailbox) and archives it as the original's keep. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c361dccd34
commit
179cd970ad
6 files changed
+139
-2
No files matched your search
@@ -154,7 +154,7 @@ A allowed_commands(const ModernState& g, const UiContext& c) {
|
||||
"session.advance", "lineup.commit", "tactics.commit", "friendly.book", "manager.resign.commit",
|
||||
"training.commit", "camp.book", "bank.commit", "toto.submit", "quote.request", "contract.offer",
|
||||
"stadium.commit", "advertising.accept", "budget.commit", "ticket.commit", "transfer.submit",
|
||||
"sponsor.answer", "environment.commit", "fixture.reschedule", "contract.cancel"};
|
||||
"sponsor.answer", "environment.commit", "fixture.reschedule", "contract.cancel", "news.update"};
|
||||
A out;
|
||||
for (size_t i = 0; i < std::size(kAll); ++i)
|
||||
if (!national || i < 5) out.push_back(kAll[i]);
|
||||
|
||||
Reference in new issue
Block a user