View Single Post
07/09/20, 02:58 AM   #7
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,962
I would like to mention that this will block ALL of the "jump to leader" popups, and not only if you are joining a group.
Not sure if it happens at other spots as well though.

If you only want it to happen after you have joined a group you could use the EVENT_GROUP_MEMBER_JOINED,
then chck if YOU have joined (via the name e.g.), or use event filters to filter on the unitag "player" (if the group join event uses that),
and set a local addon variable = true.
Inside the PreHook / overwritten function check if the variable is true and only then block the port to group leader request.
Don't forget to set the variable = false again.
  Reply With Quote