mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-23 20:40:50 +00:00
Color chat senders by GUID and drop the who-search option
The engine name-queries a chat sender before the CHAT_MSG event fires, so GetPlayerInfoByGUID(GetCurrentChatGUID()) resolves every player sender, including strangers in world channels. Other names in the text still fall back to C_PlayerCache.GetPlayerInfoByName and libunitscan. This makes the silent /who lookup for unknown classes obsolete; remove it along with its FriendsFrame_OnEvent wrapper, config default, GUI entry and translations.
This commit is contained in:
@@ -827,7 +827,6 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("chat", "text", "detecturl", "1")
|
||||
pfUI:UpdateConfig("chat", "text", "classcolor", "1")
|
||||
pfUI:UpdateConfig("chat", "text", "playericons", "0")
|
||||
pfUI:UpdateConfig("chat", "text", "whosearchunknown", "0")
|
||||
pfUI:UpdateConfig("chat", "text", "playerlevel", "0")
|
||||
pfUI:UpdateConfig("chat", "left", "width", "380")
|
||||
pfUI:UpdateConfig("chat", "left", "height", "180")
|
||||
|
||||
Reference in New Issue
Block a user