mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
File transfer progress was not being rounded correctly. SMACK-127
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3598 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
3709f51db0
commit
422317e238
4 changed files with 81 additions and 62 deletions
|
@ -149,7 +149,7 @@ public class FileTransferNegotiator {
|
|||
* @param type The iq type of the packet.
|
||||
* @return The created IQ packet.
|
||||
*/
|
||||
protected static IQ createIQ(final String ID, final String to,
|
||||
public static IQ createIQ(final String ID, final String to,
|
||||
final String from, final IQ.Type type) {
|
||||
IQ iqPacket = new IQ() {
|
||||
public String getChildElementXML() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue