Comparer les révisions

...

6 Révisions
r410 ... master

Auteur SHA1 Message Date
Albirew 75a6297b97 TOC update
1.13.5
2020-10-29 11:41:23 +00:00
Albirew 01deecbfef bump ToC to 1.13.3 2019-12-14 00:43:23 +01:00
Albirew 35039ecba0 cleaned toc file 2019-10-10 22:12:48 +02:00
Albirew 7ad34c7558 fixed accountInfo bug in retail
fixed "attempt to index local 'accountInfo' (a number value)"
2019-09-27 15:37:54 +02:00
Albirew 70622b9f88 List of friends not showing on friendlist send menu 2019-09-13 15:09:43 +02:00
Albirew b265b85f5d removed old SVN file 2019-09-13 15:08:17 +02:00
3 fichiers modifiés avec 16 ajouts et 32 suppressions

Voir le fichier

@ -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
------------------------------------------------------------------------

Voir le fichier

@ -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

Voir le fichier

@ -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