Skip to content

Commit

Permalink
Linking an aura can't add url in chat for China region
Browse files Browse the repository at this point in the history
fixed #5430
  • Loading branch information
mrbuds committed Sep 21, 2024
1 parent 104df7e commit 0375e21
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -488,11 +488,17 @@ local methods = {
fullName = name
end
end
local url = ""
if self.data.url then
url = " ".. self.data.url

if GetCurrentRegion() ~= 5 then
local url = ""
if self.data.url then
url = " ".. self.data.url
end
editbox:Insert("[WeakAuras: "..fullName.." - "..self.data.id.."]"..url)
else
editbox:Insert("[WeakAuras: "..fullName.." - "..self.data.id.."]")
end
editbox:Insert("[WeakAuras: "..fullName.." - "..self.data.id.."]"..url)

OptionsPrivate.Private.linked = OptionsPrivate.Private.linked or {}
OptionsPrivate.Private.linked[self.data.id] = GetTime()
elseif not self.data.controlledChildren then
Expand Down

0 comments on commit 0375e21

Please sign in to comment.