MDL-76551 mod_bigbluebuttonbn: Add user picture
* Add user picture with token * Add a new global setting to enable or disable avatar for users in meeting.
This commit is contained in:
@@ -1227,4 +1227,15 @@ EOF;
|
||||
\mod_bigbluebuttonbn\plugin::generate_guest_meeting_credentials();
|
||||
$DB->update_record('bigbluebuttonbn', $this->instancedata);
|
||||
}
|
||||
|
||||
/**
|
||||
* Is this meeting configured to display avatars of the users ?
|
||||
*
|
||||
* Note: this is for now a global setting.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function is_profile_picture_enabled(): bool {
|
||||
return (bool) config::get('profile_picture_enabled');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user