Skip to:
Content

BuddyPress.org

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#5263 closed enhancement (fixed)

Filtering using bp_messages_single_new_message_notification

Reported by: henrywright Owned by: boonebgorges
Milestone: 1.9 Priority: normal
Severity: normal Version: 1.8.1
Component: Messages Keywords: has-patch
Cc:

Description

bp_activity_single_at_mentions_notification allows me to pass $item_id and $secondary_item_id to my filter function where as bp_messages_single_new_message_notification doesn't.

Please see attached patch. Would this be possible? It would help as I need to use $secondary_item_id in my filter function to display the messaged member's avatar.

Attachments (1)

5263.patch (899 bytes) - added by henrywright 6 years ago.

Download all attachments as: .zip

Change History (5)

@henrywright
6 years ago

#1 @henrywright
6 years ago

  • Keywords has-patch added

#2 @boonebgorges
6 years ago

  • Milestone changed from Awaiting Review to 1.9

Ask and ye shall receive :-D

#3 @boonebgorges
6 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 7613:

Pass $item_id and $secondary_item_id to message notification filters

Fixes #5263

Props henrywright

#4 @henrywright
6 years ago

Thanks Boone! :)

Note: See TracTickets for help on using tickets.