FIX: documentation was using incorrect function (#9876)

FIX: documentation was using incorrect function (#9876)

diff --git a/app/assets/javascripts/discourse/app/lib/plugin-api.js b/app/assets/javascripts/discourse/app/lib/plugin-api.js
index ae2417f..101c97d 100644
--- a/app/assets/javascripts/discourse/app/lib/plugin-api.js
+++ b/app/assets/javascripts/discourse/app/lib/plugin-api.js
@@ -933,7 +933,7 @@ class PluginApi {
    *
    * Example:
    *
-   * api.appendUsernameDecorator(username => {
+   * api.addUsernameSelectorDecorator(username => {
    *   return `<span class="status">[is_away]</class>`;
    * })
    */

GitHub sha: d9f915b1

This commit appears in #9876 which was merged by jjaffeux.