fixed auto-accept invite
git [04-19-18 - 19:01]
diff --git a/DasChatMessage.lua b/DasChatMessage.lua
index 3423895..9adbd61 100644
--- a/DasChatMessage.lua
+++ b/DasChatMessage.lua
@@ -87,7 +87,7 @@ function DAS.OnChatMessage(eventCode, channelType, fromName, messageText, _, fro
if isPlayerName then
local groupStatus = IsUnitGrouped(unittagplayer)
- if groupStatus and DAS.GetGroupLeaveOnNewSearch() then
+ if groupStatus and not channelTypes[channelType] and DAS.GetGroupLeaveOnNewSearch() then
GroupLeave()
else
DAS.TryTriggerAutoAcceptInvite()