From a9726d122700721a2f2dd3e9deab0ccb7bf21e59 Mon Sep 17 00:00:00 2001 From: Lyncoln Date: Sun, 18 Oct 2026 00:53:47 -0400 Subject: [PATCH] Moved to transformation of the avatar URL instead of construction to avoid collisions --- plugins/rmass/actions/getrmassuseravatar.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/plugins/rmass/actions/getrmassuseravatar.py b/plugins/rmass/actions/getrmassuseravatar.py index 436eebb..edaccff 100644 --- a/plugins/rmass/actions/getrmassuseravatar.py +++ b/plugins/rmass/actions/getrmassuseravatar.py @@ -15,17 +15,16 @@ resolve = { "get": { "avatar": ["messageheaders", "userCard", "userPhoto"], }, - "construct": { - "avatarpath": [ - "https://rentmasseur.com", - {"resolved": "avatar"}, - ], + "transform": { + "avatar": { + "/images/nophoto.jpg": "https://rentmasseur.com/images/nophoto.jpg", + }, }, } #To add resolution suffix, second item must be a dictionary. References the "path" library under resolved path = [ - {"resolved": "avatarpath"}, + {"resolved": "avatar"}, ] headers = {