Comparer les révisions
6 Révisions
Auteur | SHA1 | Date |
---|---|---|
Albirew | 75a6297b97 | |
Albirew | 01deecbfef | |
Albirew | 35039ecba0 | |
Albirew | 7ad34c7558 | |
Albirew | 70622b9f88 | |
Albirew | b265b85f5d |
21
CHANGES.txt
21
CHANGES.txt
|
@ -1,21 +0,0 @@
|
|||
------------------------------------------------------------------------
|
||||
r410 | albirew | 2019-09-10 18:42:28 +0000 (Tue, 10 Sep 2019) | 1 line
|
||||
Changed paths:
|
||||
M /trunk/Postal.toc
|
||||
M /trunk/Modules/BlackBook.lua
|
||||
|
||||
Fix Friend List and Update TOC for 8.2 and classic 1.13.2
|
||||
------------------------------------------------------------------------
|
||||
r409 | nevcairiel | 2018-07-20 08:41:50 +0000 (Fri, 20 Jul 2018) | 1 line
|
||||
Changed paths:
|
||||
M /trunk/Postal.toc
|
||||
|
||||
Update TOC for 8.0
|
||||
------------------------------------------------------------------------
|
||||
r408 | nevcairiel | 2018-07-18 16:41:01 +0000 (Wed, 18 Jul 2018) | 1 line
|
||||
Changed paths:
|
||||
M /trunk/Modules/BlackBook.lua
|
||||
|
||||
Fix Send Mail auto-complete
|
||||
------------------------------------------------------------------------
|
||||
|
|
@ -297,7 +297,12 @@ function Postal_BlackBook:OnChar(editbox, ...)
|
|||
local numBNetTotal, numBNetOnline = BNGetNumFriends()
|
||||
for i = 1, numBNetOnline do
|
||||
local presenceID, presenceName, battleTag, isBattleTagPresence, toonName, toonID, client, isOnline, lastOnline, isAFK, isDND, messageText, noteText, isRIDFriend, messageTime, canSoR = BNGetFriendInfo(i)
|
||||
if (toonName and client == BNET_CLIENT_WOW and CanCooperateWithGameAccount(toonID)) then
|
||||
if (WOW_PROJECT_ID == WOW_PROJECT_CLASSIC) then
|
||||
local accountID = toonID
|
||||
else
|
||||
local accountID = C_BattleNet.GetFriendAccountInfo(i)
|
||||
end
|
||||
if (toonName and client == BNET_CLIENT_WOW and CanCooperateWithGameAccount(accountID)) then
|
||||
if strfind(strupper(toonName), text, 1, 1) == 1 then
|
||||
newname = toonName
|
||||
break
|
||||
|
@ -359,7 +364,8 @@ function Postal_BlackBook:SortAndCountNumFriends()
|
|||
wipe(sorttable)
|
||||
local numFriends = C_FriendList.GetNumFriends()
|
||||
for i = 1, numFriends do
|
||||
sorttable[i] = GetFriendInfo(i)
|
||||
local friendInfo = C_FriendList.GetFriendInfoByIndex(i)
|
||||
sorttable[i] = friendInfo.name
|
||||
end
|
||||
|
||||
-- Battle.net friends
|
||||
|
@ -367,7 +373,12 @@ function Postal_BlackBook:SortAndCountNumFriends()
|
|||
local numBNetTotal, numBNetOnline = BNGetNumFriends()
|
||||
for i= 1, numBNetOnline do
|
||||
local presenceID, presenceName, battleTag, isBattleTagPresence, toonName, toonID, client, isOnline, lastOnline, isAFK, isDND, messageText, noteText, isRIDFriend, messageTime, canSoR = BNGetFriendInfo(i)
|
||||
if (toonName and client == BNET_CLIENT_WOW and CanCooperateWithGameAccount(toonID)) then
|
||||
if (WOW_PROJECT_ID == WOW_PROJECT_CLASSIC) then
|
||||
local accountID = toonID
|
||||
else
|
||||
local accountID = C_BattleNet.GetFriendAccountInfo(i)
|
||||
end
|
||||
if (toonName and client == BNET_CLIENT_WOW and CanCooperateWithGameAccount(accountID)) then
|
||||
-- Check if already on friends list
|
||||
local alreadyOnList = false
|
||||
for j = 1, numFriends do
|
||||
|
|
10
Postal.toc
10
Postal.toc
|
@ -1,12 +1,7 @@
|
|||
#retail ## Interface: 80200
|
||||
## Interface: 11302
|
||||
## Interface: 11305
|
||||
## Title: Postal
|
||||
## Version: v3.6.1
|
||||
## X-Build: 410
|
||||
## X-ReleaseDate: 2018-07-20T8:41:50Z
|
||||
## X-Revision: $Revision: 410 $
|
||||
## Version: v3.6.2a
|
||||
## Author: Xinhuan
|
||||
## X-Credits: Ammo, Rabbit, Grennon, Mikk, oscarucb
|
||||
## X-Category: Mail
|
||||
## Notes: Postal: Enhanced Mailbox support
|
||||
## Notes-ruRU: Postal: Расширенная поддержка почтового ящика
|
||||
|
@ -20,7 +15,6 @@
|
|||
|
||||
## LoadManagers: AddonLoader
|
||||
## X-LoadOn-Mailbox: true
|
||||
## X-Email: xinhuan AT gmail DOT com
|
||||
|
||||
#@no-lib-strip@
|
||||
Libs\LibStub\LibStub.lua
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket