social-common / pragma.account / AccountPlugin / updateDisplayName /

updateDisplayName #

abstract suspend fun updateDisplayName(requestedDisplayName: String, pragmaAccount: PragmaAccount)

Called when a user updates their own display name

The default implementation in DefaultAccountPlugin disables a user updating their own display name The default plugin throws a AccountService_DisplayNameUpdateNotAllowed error

Used by

  • AccountService.updateDisplayNameV1

Parameters #

requestedDisplayName

String the display name the user requested

pragmaAccount

PragmaAccount of the user