2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Choose a channel to send messages as.

This commit is contained in:
John Preston
2021-11-09 17:50:33 +04:00
parent 4691cff3f6
commit 1bd74fe478
7 changed files with 319 additions and 23 deletions

View File

@@ -470,7 +470,7 @@ rpl::producer<QImage> PeerUserpicImageValue(
const auto state = result.make_state<State>();
state->push = [=] {
const auto key = peer->userpicUniqueKey(state->view);
const auto loading = !state->view || state->view->image();
const auto loading = state->view && !state->view->image();
if (loading && !state->waiting) {
peer->session().downloaderTaskFinished(