Ruchi Punetha 9.Feb.11 07:03 AM a Web browser Sametime Advanced8.5Windows
Hi All,
I am using stproxy.getChatModel function to get a single user chat screen.
I am using UserID1 for log in and trying to open the chat window for UserID2 as below:
function startChat() {
// Organise the display
dojo.byId("myChat").style.display = "block";
// dojo.byId("startButton").style.display = "none";
dojo.byId("closeButton").style.display = "block";
// Get (or create) a chat model for the user
chatModel = stproxy.getChatModel("UserID2", false);
// Create a new chat using the model
chat = new sametime.Chat({model: chatModel},document.createElement("div"));
dojo.byId("myChat").appendChild(chat.domNode);
}
The above startChat function is called after the loginuser funstion for userID1.
The chat window is opening only when I am logging in the sametime client with UserID2 and seems it is ok.
But the userID2 status is showing offline in the chatmodel window and also I am not able to ping the user from chatmodel window.
Even When I close the chat window for the UserID1 the UserId2 session is getting expired.