1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-23 20:42:06 +01:00

Add content name

This commit is contained in:
vanitasvitae 2017-05-31 19:32:17 +02:00
parent 0b28e8b467
commit 48ed570bd2
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -109,7 +109,8 @@ public final class JingleFileTransferManager extends Manager {
cb.setDescription(descriptionFileTransfer) cb.setDescription(descriptionFileTransfer)
.addTransport(transport) .addTransport(transport)
.setCreator(JingleContent.Creator.initiator) .setCreator(JingleContent.Creator.initiator)
.setSenders(JingleContent.Senders.initiator); .setSenders(JingleContent.Senders.initiator)
.setName("file");
JingleContent content = cb.build(); JingleContent content = cb.build();
final String sid = JingleInBandByteStreamManager.generateSessionId(); final String sid = JingleInBandByteStreamManager.generateSessionId();