-
Notifications
You must be signed in to change notification settings - Fork 222
Open
Description
According to LogsPlugin.ts#L123, ping_user is deprecated, implying that allow_user_mentions is the preferred option. Yet in getLogMessage.ts#L92, the user mention formatting result used in logs is determined by both ping_user and allow_user_mentions.
If ping_user was internally marked as deprecated, why is it still being used to determine a user mention formatting result?
Instead, could we just standardize allow_user_mentions as the determining condition for whether or not verboseUserMention() is called instead of verboseUserName()?
if (config.allow_user_mentions) {
mentions.push(verboseUserMention(user));
} else {
mentions.push(verboseUserName(user));
}Metadata
Metadata
Assignees
Labels
No labels