After updating to Remnawave backend 3.2.0, the {{STATUS}} template variable no longer returns the status emoji when used inside customResponseHeaders, for example in the announce header.
My customResponseHeaders:
{"announce": "rwEncodeBase64:MRM VPN\nUser: {{USERNAME}}\nStatus: {{STATUS}}"}
Expected result:
Status:
Active
Actual result:
Status: Active
I checked the bundled backend code and USER_STATUSES_TEMPLATE still contains emojis:
ACTIVE: "
Active"
EXPIRED: "
Expired"
DISABLED: “
Disabled”
LIMITED: “
Limited”
But customResponseHeaders are rendered with transliteration enabled:
formatWithUser(value, user, settings, subPublicDomain, true)
Because of this, {{STATUS}} is passed through transliterate(), and emoji is stripped from the result.
Please either:
- Do not transliterate {{STATUS}} in customResponseHeaders,
- Add a separate variable like {{STATUS_EMOJI}},
- Or make transliteration optional for custom response headers.
Environment:
Remnawave backend: 3.2.0
Subscription page: v8.0.0
Docker image: remnawave/backend:3.2.0