1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-10 22:25:59 +01:00

Merge branch 'jingleManagerFixes' into jingle

This commit is contained in:
vanitasvitae 2017-06-04 15:51:07 +02:00
commit e6d365fb92
3 changed files with 4 additions and 4 deletions

View file

@ -21,6 +21,6 @@ import org.jivesoftware.smackx.jingle.element.Jingle;
public interface JingleHandler { public interface JingleHandler {
IQ handleRequest(Jingle jingle); IQ handleJingleRequest(Jingle jingle);
} }

View file

@ -72,7 +72,7 @@ public final class JingleManager extends Manager {
// TODO handle non existing jingle session handler. // TODO handle non existing jingle session handler.
return null; return null;
} }
return jingleSessionHandler.handleRequest(jingle, sid); return jingleSessionHandler.handleJingleSessionRequest(jingle, sid);
} }
if (jingle.getContents().size() > 1) { if (jingle.getContents().size() > 1) {
@ -88,7 +88,7 @@ public final class JingleManager extends Manager {
// TODO handle non existing content description handler. // TODO handle non existing content description handler.
return null; return null;
} }
return jingleDescriptionHandler.handleRequest(jingle); return jingleDescriptionHandler.handleJingleRequest(jingle);
} }
}); });
} }

View file

@ -21,6 +21,6 @@ import org.jivesoftware.smackx.jingle.element.Jingle;
public interface JingleSessionHandler { public interface JingleSessionHandler {
IQ handleRequest(Jingle jingle, String sessionId); IQ handleJingleSessionRequest(Jingle jingle, String sessionId);
} }