File transfer and screenshot sending doesn't work after Smack 4 update

Description

After the update to Smack 4 Spark is not able to receive files and doesn't show File transfer and Screenshot sending button on the toolbar in the chat window. There is also no File transfer context menu for the contact.

Environment

None

Activity

Show:

wroot August 15, 2016 at 7:55 PM

Guus der Kinderen August 15, 2016 at 7:15 PM

I believe that this is a timing issue. A file transfer manager object gets initialized when the connection is authenticated. With Smack 4, authentication appears to have finished even before the transfer manager object was created in the first place. This caused the object to go uninitialized.

I've modified the code in such a way that initialization need not depend on authentication.

https://github.com/igniterealtime/Spark/pull/193

Fixed

Details

Priority

Assignee

Reporter

Affects versions

Fix versions

Components

Created May 10, 2016 at 10:05 AM
Updated August 15, 2016 at 7:55 PM
Resolved August 15, 2016 at 7:55 PM