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:
Laurent David
2023-03-22 15:42:28 +01:00
parent ba81f720db
commit aa9c5cf455
5 changed files with 46 additions and 0 deletions
+11
View File
@@ -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');
}
}