mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 10:37:59 +01:00
Fix typo in StreamInitiation.setSesssionID()
Fixes SMACK-427
This commit is contained in:
parent
7ba3c3d43f
commit
7bba6b7f91
3 changed files with 4 additions and 4 deletions
|
@ -396,7 +396,7 @@ public class FileTransferNegotiator {
|
|||
final String streamID, final String fileName, final long size,
|
||||
final String desc, int responseTimeout) throws XMPPException {
|
||||
StreamInitiation si = new StreamInitiation();
|
||||
si.setSesssionID(streamID);
|
||||
si.setSessionID(streamID);
|
||||
si.setMimeType(URLConnection.guessContentTypeFromName(fileName));
|
||||
|
||||
StreamInitiation.File siFile = new StreamInitiation.File(fileName, size);
|
||||
|
|
|
@ -46,7 +46,7 @@ public class StreamInitiation extends IQ {
|
|||
*
|
||||
* @param id The "id" attribute.
|
||||
*/
|
||||
public void setSesssionID(final String id) {
|
||||
public void setSessionID(final String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,7 @@ public class StreamInitiation extends IQ {
|
|||
* Uniquely identifies a stream initiation to the recipient.
|
||||
*
|
||||
* @return The "id" attribute.
|
||||
* @see #setSesssionID(String)
|
||||
* @see #setSessionID(String)
|
||||
*/
|
||||
public String getSessionID() {
|
||||
return id;
|
||||
|
|
|
@ -113,7 +113,7 @@ public class StreamInitiationProvider implements IQProvider {
|
|||
}
|
||||
}
|
||||
|
||||
initiation.setSesssionID(id);
|
||||
initiation.setSessionID(id);
|
||||
initiation.setMimeType(mimeType);
|
||||
|
||||
initiation.setFeatureNegotiationForm(form);
|
||||
|
|
Loading…
Reference in a new issue