Show star senders in live stories.

This commit is contained in:
John Preston
2025-11-25 16:46:33 +04:00
parent 3ee0dcbacd
commit 0441b7dbc3
19 changed files with 373 additions and 65 deletions
@@ -124,7 +124,6 @@ void TryAddingPaidReaction(
void TryAddingPaidReaction(
not_null<Calls::GroupCall*> call,
int count,
std::optional<PeerId> shownPeer,
std::shared_ptr<Main::SessionShow> show,
Fn<void(bool)> finished) {
const auto checkCall = [weak = base::make_weak(call), finished] {
@@ -141,7 +140,7 @@ void TryAddingPaidReaction(
if (result == Settings::SmallBalanceResult::Success
|| result == Settings::SmallBalanceResult::Already) {
if (const auto call = checkCall()) {
call->messages()->reactionsPaidAdd(count, shownPeer);
call->messages()->reactionsPaidAdd(count);
call->peer()->owner().notifyCallPaidReactionSent(call);
if (const auto onstack = finished) {
onstack(true);
@@ -42,7 +42,6 @@ void TryAddingPaidReaction(
void TryAddingPaidReaction(
not_null<Calls::GroupCall*> call,
int count,
std::optional<PeerId> shownPeer,
std::shared_ptr<Main::SessionShow> show,
Fn<void(bool)> finished = nullptr);