Skip to content

Commit b0d60a4

Browse files
do not allow sending more than 10 attachments
1 parent 2a1e41f commit b0d60a4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

qml/pages/MessagesPage.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@ Page {
504504
IconButton {
505505
// TODO (maybe): editing attachments (not possible in official clients though)
506506
visible: attachPermission && currentFieldAction != 1
507+
enabled: attachments.length < 10
507508
width: Theme.iconSizeMedium + 2 * Theme.paddingSmall
508509
height: width
509510
anchors.bottom: parent.bottom

0 commit comments

Comments
 (0)