Originally Posted by Ayantir
|
Try to unregister it later - for example when addon is loaded of when player is activated. It is possible that you are trying to unregister it before it gets registered.
I have tried to update Thurisaz Guild Info to block raid notifications, but I didn't have time to test it yet.
https://www.dropbox.com/s/349xrkiqwb...dInfo-0.57.zip
I'm trying a bit more complex version of this code:
Lua Code:
ZO_PreHook(NOTIFICATIONS.providers[10], "BuildNotificationList", function(self)
for index = 1, GetNumRaidScoreNotifications() do
local notificationId = GetRaidScoreNotificationId(index)
RemoveRaidScoreNotification(notificationId)
end
end)