message_avatar: Don't allow direct selection.

Use can no longer copy the avatar directly unless starting from
somewhere outside the `recipient_row` like date divider.
This commit is contained in:
Aman Agrawal 2023-09-08 10:33:27 +00:00 committed by Karl Stolley
parent 3838561b05
commit 1d697c344b
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<div class="u-{{msg/sender_id}} message-avatar sender_info_hover view_user_card_tooltip" aria-hidden="true" data-tooltip-template-id="view-user-card-tooltip-template"> <div class="u-{{msg/sender_id}} message-avatar sender_info_hover view_user_card_tooltip no-select" aria-hidden="true" data-tooltip-template-id="view-user-card-tooltip-template">
<div class="inline_profile_picture {{#sender_is_guest}} guest-avatar{{/sender_is_guest}}"> <div class="inline_profile_picture {{#sender_is_guest}} guest-avatar{{/sender_is_guest}}">
<img src="{{small_avatar_url}}" alt="" class="no-drag"/> <img src="{{small_avatar_url}}" alt="" class="no-drag"/>
</div> </div>