Updates default avatar image
This commit is contained in:
parent
6003b560ae
commit
3d397a28e6
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.2 KiB |
|
@ -16,7 +16,7 @@ import { ColorPalette } from '../../styles';
|
||||||
* @private
|
* @private
|
||||||
* @type {string}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
const _DEFAULT_SOURCE = require('../../../../../images/avatar2.png');
|
const _DEFAULT_SOURCE = require('../../../../../images/avatar.png');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements an avatar as a React Native/mobile {@link Component}.
|
* Implements an avatar as a React Native/mobile {@link Component}.
|
||||||
|
|
|
@ -20,7 +20,7 @@ export function getAvatarURL(participant) {
|
||||||
// If disableThirdPartyRequests disables third-party avatar services, we are
|
// If disableThirdPartyRequests disables third-party avatar services, we are
|
||||||
// restricted to a stock image of ours.
|
// restricted to a stock image of ours.
|
||||||
if (typeof config === 'object' && config.disableThirdPartyRequests) {
|
if (typeof config === 'object' && config.disableThirdPartyRequests) {
|
||||||
return 'images/avatar2.png';
|
return 'images/avatar.png';
|
||||||
}
|
}
|
||||||
|
|
||||||
const { avatarID, avatarURL, email, id } = participant;
|
const { avatarID, avatarURL, email, id } = participant;
|
||||||
|
|
|
@ -342,7 +342,7 @@ const buttons: Object = {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
html: <img
|
html: <img
|
||||||
id = 'avatar'
|
id = 'avatar'
|
||||||
src = 'images/avatar2.png' />,
|
src = 'images/avatar.png' />,
|
||||||
id: 'toolbar_button_profile',
|
id: 'toolbar_button_profile',
|
||||||
onClick() {
|
onClick() {
|
||||||
JitsiMeetJS.analytics.sendEvent('toolbar.profile.toggled');
|
JitsiMeetJS.analytics.sendEvent('toolbar.profile.toggled');
|
||||||
|
|
Loading…
Reference in New Issue