mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Update jingle.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@7817 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Binary file not shown.
@ -92,6 +92,8 @@ public class IncomingCall implements JingleSessionListener, ChatRoomClosingListe
|
||||
* Appends the JingleRoom to the ChatRoom.
|
||||
*/
|
||||
private void showCallAnsweredState() {
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
public void run() {
|
||||
final SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy h:mm a");
|
||||
notificationUI.setTitle("Voice chat started on " + formatter.format(new Date()));
|
||||
notificationUI.showAlert(false);
|
||||
@ -114,6 +116,8 @@ public class IncomingCall implements JingleSessionListener, ChatRoomClosingListe
|
||||
// Notify state change
|
||||
SparkManager.getChatManager().notifySparkTabHandlers(chatRoom);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes the JingleRoom from the ChatRoom.
|
||||
@ -267,13 +271,11 @@ public class IncomingCall implements JingleSessionListener, ChatRoomClosingListe
|
||||
SparkManager.getChatManager().getChatContainer().getChatFrame().toFront();
|
||||
notifyRoom();
|
||||
}
|
||||
|
||||
showCallAnsweredState();
|
||||
}
|
||||
|
||||
|
||||
public void sessionEstablished(PayloadType payloadType, TransportCandidate transportCandidate, TransportCandidate transportCandidate1, JingleSession jingleSession) {
|
||||
|
||||
showCallAnsweredState();
|
||||
}
|
||||
|
||||
public void sessionDeclined(String string, JingleSession jingleSession) {
|
||||
|
||||
Reference in New Issue
Block a user