I hereby claim:
- I am zclancy on github.
- I am clancy (https://keybase.io/clancy) on keybase.
- I have a public key whose fingerprint is BF99 126C C714 8605 81F2 8FB3 BF22 BCEF 3205 AAE2
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
using System; | |
using System.Configuration; | |
using System.Net; | |
using Microsoft.Rtc.Collaboration; | |
using Microsoft.Rtc.Collaboration.GroupChat; | |
using Microsoft.Rtc.Signaling; | |
namespace GroupChat | |
{ | |
public static class Common |
var Instant = {}; | |
Instant.launchSametimeConversation = function (stid) { | |
var time = new Date(); | |
var getUrl = 'http://localhost:59449/stwebapi/chat?userId=' + stid + '&time=' + time.getTime() + '&jsonp=Instant.handleResponse'; | |
// Use jQuery to request the Sametime servlet URL. If a request makes it to the URL successfully, the servlet will return a code 200 and open the Sametime client chat with the user. | |
// We use the Instant.handleResponse() function as a callback to process the JSONP data object that the servlet hands back. | |
$.ajax({ | |
type: 'GET', |
var Instant = {}; | |
// Function to detect Sametime Connect client presence | |
Instant.detectClient = function () { | |
if ( self.getstatus ) { | |
return true; | |
} else { | |
return false; | |
} | |
}; |