This commit is contained in:
Michael Rogers 2023-06-14 16:20:18 -05:00
parent ec7f954411
commit 7261662975

View File

@ -246,7 +246,7 @@ export default class StatusAPI extends EventEmitter {
const provider = this.#userAPI.getProvider(); const provider = this.#userAPI.getProvider();
if (provider.getStatusRoleForCurrentUser) { if (provider.getStatusRoleForCurrentUser) {
const activeStatusRole = await this.#userAPI.getActiveRole() const activeStatusRole = await this.#userAPI.getActiveRole();
const canProvideStatus = await this.canProvideStatusForRole(activeStatusRole); const canProvideStatus = await this.canProvideStatusForRole(activeStatusRole);
return canProvideStatus; return canProvideStatus;