[SOLVED] How to make the web client display an incoming message. I am integrating Zimbra Web Client with our backend server. I have enabled IM messages and I can see the roster and the UI is sending the NoOpRequest as frequently as the server can send a response back to the web client.
Problem:
Web Client is not displaying the incoming chat message.
I am sending the following back as a response to the NoOpRequest
<im>
[
// Asynchronous Roster Response
<n type="roster">
[<n type="subscribed"...>]* // see "subscribed" notification below
...
</n>
]?
[
<n type="subscribed" to="TOADDR" name="NAME" groups="GROUPS" />
]*
[
// NEW MESSAGE RECEIVED:
<n type="message" from="address" thread="chat-id" ts="TIMESTAMP" >
[<body html="false">BODY</body>]
[<typing/>]
</n>
]*
[
<n type="privacy">
<list name="name">
</list>
</n>
]
</im>]
Am I missing something from above?
Do I need to add any other tag to the notify block such as
[<deleted.../>]
[<created.../>]
[<modified.../>]
so that the Web Client opens a widget to display the incoming chat message?
thanks
rht |