Skip to content

Ticket/17723 Expose address_list in core.ucp_pm_compose_modify_parse_after - #7055

Open
bonelifer wants to merge 1 commit into
phpbb:3.3.xfrom
bonelifer:ticket/17723
Open

bonelifer wants to merge 1 commit into
phpbb:3.3.xfrom
bonelifer:ticket/17723

Conversation

@bonelifer

Copy link
Copy Markdown
Member

Checklist:

  • Correct branch: master for new features; 3.3.x for fixes
  • Tests pass
  • Code follows coding guidelines: master and 3.3.x
  • Commit follows commit message format

Tracker ticket:

https://tracker.phpbb.com/browse/PHPBB-17723

Adds address_list (array, read-only) to the existing core.ucp_pm_compose_modify_parse_after event's vars and docblock. The recipient list is already fully built earlier in the same function; this just exposes it to listeners that already use this event to validate a PM before it's sent, but currently can't see who it's addressed to. No new event, no change to where it fires — see the linked ticket for the full use case.

@github-actions

Copy link
Copy Markdown

The attempt to merge branch 3.3.x into master has completed after considering the changes in this PR.

  • Merge result: Success ✅

This PR is ready to be merged.

…e_after

core.ucp_pm_compose_modify_parse_after already fires at exactly the
right point for validating a PM before it is sent, and already exposes
error and submit. It does not expose address_list, the recipient list
already fully built earlier in the same function, so a listener can
reject a PM but cannot inspect who it is actually being sent to.

Adds address_list (array, read-only) to the event's vars and docblock.
No new event, no change to where this fires.

PHPBB-17723
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant