changes to config plugin, reduce file amount + code, fix greeter
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ Singleton {
|
||||
function getIdentity(player: MprisPlayer): string {
|
||||
if (!player)
|
||||
return "";
|
||||
const alias = Config.services.playerAliases.find(a => a.from === player.identity);
|
||||
const alias = Config.services.playerAliases.values.find(a => a.from === player.identity);
|
||||
return alias?.to ?? player.identity;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user