Skip to content

Commit 857712c

Browse files
committed
fix(notification): node limited escape function
1 parent 668e57d commit 857712c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/notification/telegram/node.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,8 @@ async def error_node(node: NodeNotification):
5959

6060

6161
async def limited_node(node: NodeNotification, data_limit: int, used_traffic: int):
62-
name = escape_tg_html(node.name)
6362
data = messages.LIMITED_NODE.format(
64-
name=name,
63+
name=escape(node.name),
6564
data_limit=readable_size(data_limit),
6665
used_traffic=readable_size(used_traffic),
6766
id=node.id,

0 commit comments

Comments
 (0)