Originally Posted by Phanx
There is, actually.
In my own testing with my own addon Hydra, as well as reports from users, some people receive the event before the dialog is shown, while others show the dialog before receiving the event. It only ever works one way on my client, but apparently it is not consistent between clients. In Hydra, I use both detection methods (securehook on StaticPopup_Show and register for PARTY_INVITE_REQUEST event), and whenever either one occurs, check if the dialog is visible and run StaticPopup_OnClick if it is.
|
That is very odd, been using my method for auto-accepting group invites from people in my guild, and it has never failed.