Skip to content

refactor(whatsrust): extract outbound message wrappers - #324

Merged
Andiveli merged 1 commit into
betafrom
refactor/whatsrust-send-wrappers-v2
Aug 27, 2026
Merged

refactor(whatsrust): extract outbound message wrappers#324
Andiveli merged 1 commit into
betafrom
refactor/whatsrust-send-wrappers-v2

Conversation

@Andiveli

Copy link
Copy Markdown
Owner

Summary

  • Move outbound send and forward wrappers into message_send.rs.
  • Preserve public signatures, FFI behavior, ownership, quote handling, and send policy.

Changes

  • Moved send_message, send_text_message, and forward_message from the facade.

Chain Context

Testing

  • cargo fmt --all -- --check
  • CARGO_TARGET_DIR=/home/samael/Escritorio/public/wptui-public/target cargo check --workspace --all-targets
  • CARGO_TARGET_DIR=/home/samael/Escritorio/public/wptui-public/target cargo test -p whatsrust message_send::tests -- --test-threads=1
  • git diff --check

Review Budget and Rollback

  • Authored diff: 256 lines (128 additions + 128 deletions).
  • Rollback: revert commit 94f66a2.

Closes #320

@Andiveli Andiveli added the type:refactor Code refactoring label Aug 26, 2026
@Andiveli
Andiveli changed the base branch from refactor/whatsrust-message-payload-builders-v2 to beta August 27, 2026 01:11
@Andiveli
Andiveli merged commit 31e74df into beta Aug 27, 2026
1 check passed
@Andiveli
Andiveli deleted the refactor/whatsrust-send-wrappers-v2 branch August 31, 2026 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:refactor Code refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant