Skip to content

Commit

Permalink
Treat overriden sender name as content above attachment
Browse files Browse the repository at this point in the history
- resolves #3914
  • Loading branch information
maxphilippov committed Sep 19, 2024
1 parent 46d9811 commit d8e5c4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
- fix: packaging: windows 64bit and 32bit releases now have different filenames, bring back 64bit windows releases. #4131
- some shortcuts (e.g. `Ctrl + N`, `Ctrl + K`) not working on some languages' keyboard layots #4140
- fix chat "scrolling up" when someone adds a reaction, resulting in new messages not getting scrolled into view when they arrive #4120
- fix missing space between overriden sender name and image attachment #3914

<a id="1_46_8"></a>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export default function Attachment({
// For attachments which aren't full-frame
const withContentBelow = withCaption
const withContentAbove =
message.overrideSenderName != null ||
hasQuote ||
(conversationType.hasMultipleParticipants && direction === 'incoming')
// const dimensions = message.msg.dimensions || {}
Expand Down

0 comments on commit d8e5c4b

Please sign in to comment.