Support server-side colors by index, up to three.

This commit is contained in:
John Preston
2023-10-26 23:40:53 +04:00
parent cc8408d11c
commit 5d335341ab
21 changed files with 391 additions and 167 deletions
@@ -476,4 +476,9 @@ Window::SessionController *Session::tryResolveWindow() const {
return _windows.front();
}
auto Session::colorIndicesValue() const
-> rpl::producer<Ui::ColorIndicesCompressed> {
return _account->appConfig().colorIndicesValue();
}
} // namespace Main