Hi Shamim,
Against all odds, I modified class-fep-message.php in order to give a new .fep-avatar-own class to current user’s avatar. I don’t know if it’s something you would like to add into a future release, however, here’s the code.
It’s now possible to stylize differently a user’s own avatar or even make It disappear.
Have a good day!
case 'avatar' :
$participants = fep_get_participants( get_the_ID() );
$current_user = get_current_user_id();
$count = 1;
?>
<div class="fep-avatar-p <?php echo ( count( $participants ) > 2 ) ? 'fep-avatar-p-120' : 'fep-avatar-p-90' ?>"><?php
foreach( $participants as $p ){
$participant_id = fep_get_userdata( $p, 'ID', 'ID' );
if( $count > 2 ){
echo '<div class="fep-avatar-more-60" title="' . __('More users', 'front-end-pm') . '"></div>';
break;
}
?><div class="fep-avatar-<?php echo $count; ?> <?php if ( $participant_id === $current_user) { echo "fep-avatar-own";} ?>"><?php echo get_avatar( $p, 60, '', '', array( 'extra_attr'=> 'title="'. fep_get_userdata( $p, 'display_name', 'ID' ) . '"') ); ?></div><?php
$count++;
}
echo '</div>';
break;