There are actually several ways to achieve that, but the most simple one is:
Lua Code:
local org = ZO_PlayerToPlayer.AddPromptToIncomingQueue
function ZO_PlayerToPlayer.AddPromptToIncomingQueue(self, interactType, characterName, displayName, targetLabel, acceptCallback, declineCallback, deferDecisionCallback)
if interactType == 19 then
return {}
else
return org(self, interactType, characterName, displayName, targetLabel, acceptCallback, declineCallback, deferDecisionCallback)
end
end
--ZO_PreHook(ZO_PlayerToPlayer, 'AddPromptToIncomingQueue', function(self, interactType)
--if interactType == 19 then return true end
--end)
I commented ZO_PreHook, because it will produce lua error, since zos code doesn't check if the prompt was added and will just try to access nil value. Also INTERACT_TYPE_TRAVEL_TO_LEADER = 19 is a local variable, so have to use a raw value... But it does its job