Fixed display of info in profile box for inaccessible peers.

This commit is contained in:
23rd 2022-10-20 17:20:20 +03:00 committed by John Preston
parent 50b27b51a1
commit f0177bc6cc

View file

@ -180,7 +180,7 @@ rpl::producer<std::vector<TextWithEntities>> UsernamesValue(
return map(channel->usernames());
});
} else {
return rpl::never<std::vector<TextWithEntities>>();
return rpl::single(std::vector<TextWithEntities>());
}
}