Skip to content
This repository was archived by the owner on Oct 12, 2025. It is now read-only.

[Core] fix private chat Forward with additional information#842

Merged
DarkRRb merged 3 commits intomasterfrom
darkrrb/fix/private-chat-Forward-with-additional-information
May 21, 2025
Merged

[Core] fix private chat Forward with additional information#842
DarkRRb merged 3 commits intomasterfrom
darkrrb/fix/private-chat-Forward-with-additional-information

Conversation

@DarkRRb
Copy link
Collaborator

@DarkRRb DarkRRb commented May 21, 2025

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses an issue in forwarding private chat messages by adjusting the condition for including additional information.

  • Reverses the condition on ClientSequence in ForwardEntity.cs to trigger additional packing when ClientSequence equals zero.
Comments suppressed due to low confidence (1)

Lagrange.Core/Message/Entity/ForwardEntity.cs:66

  • The condition was reversed from 'ClientSequence != 0' to 'ClientSequence == 0'. Please confirm that this change correctly reflects the intended logic for including additional information in private chat forwarding.
if (additional && ClientSequence == 0)

@DarkRRb DarkRRb merged commit 5b5e09e into master May 21, 2025
8 checks passed
@DarkRRb DarkRRb deleted the darkrrb/fix/private-chat-Forward-with-additional-information branch May 21, 2025 11:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments