Skip to content

Commit ee1efc4

Browse files
committed
Replace "System" username with "<username> [System]" in chatbridge to stop it merging the profile pictures
1 parent 14d17e4 commit ee1efc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pterodactyl/smp_commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ async fn handle_log_message(
141141
false,
142142
ExecuteWebhook::new()
143143
.content(sanitized_message)
144-
.username("System")
144+
.username(format!("{sanitized_username} [System]"))
145145
.avatar_url(avatar_url(&sanitized_username)),
146146
)
147147
.await?;

0 commit comments

Comments
 (0)