Handle receiving an empty file

Authored by eduisters on Dec 2 2018, 6:33 PM.

Description

Handle receiving an empty file

Summary:
When an empty file is send from the desktop SharePlugin onPacketReceived
does not see a payload so the packet is discarded

Test Plan:
Send an empty file from the desktop
Verify that a notification is shown notifying the user that a file was received and that file has been created in the filesystem

Reviewers: KDE Connect, albertvaka

Reviewed By: KDE Connect, albertvaka

Subscribers: nicolasfella, kdeconnect

Tags: KDE Connect

Differential Revision: https://phabricator.kde.org/D17235

Details

Committed
eduistersDec 2 2018, 6:34 PM
Reviewer
KDE Connect
Differential Revision
D17235: Handle receiving an empty file
Parents
R225:dee66fba8793: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown