Skip to content

Commit

Permalink
fix: Forward channel message, set pinned=false
Browse files Browse the repository at this point in the history
  • Loading branch information
loyldg committed Jan 4, 2025
1 parent 95ebbc0 commit 9722658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/src/MyTelegram.Domain/Sagas/ForwardMessageSaga.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private async Task<int> SendMessageToTargetPeerAsync(MessageForwardedEvent aggre
PostMessageId: postMessageId,
Post: _state.Post,
SendAs: sendAs,
Pinned: true,
Pinned: _state.ForwardFromLinkedChannel,
Silent: aggregateEvent.OriginalMessageItem.Silent
);

Expand Down

0 comments on commit 9722658

Please sign in to comment.