Project

General

Profile

Chat State Notifications with Multi-User-Chat

Troy Mestler
Added almost 5 years ago

Are chat state notifications supported with the MUC plugin? I cannot seem to get it working.

Here's a composition chat state that I'm sending a chatroom:

<body rid=​"2437048342" xmlns=​"http:​/​/​jabber.org/​protocol/​httpbind" sid=​"f069831c-29f3-4bc1-a8e5">​
<message to=​"idmURkq_1$openfin@muc.server.com" from=​"user@server.com/​tigase-90" type=​"groupchat" id=​"21" xmlns=​"jabber:​client">​
<x xmlns=​"jabber:​x:​event">​
<composing>​</composing>​
</x>​
</message>​
</body>​

Here's what's being received by another user in the chatroom:

<body xmlns=​"http:​/​/​jabber.org/​protocol/​httpbind" xmlns:stream=​"http:​/​/​etherx.jabber.org/​streams" xmlns:xmpp=​"urn:​xmpp:​xbosh" xmpp:version=​"1.0" secure=​"true" from=​"server.com" host=​"ip-10-137-33-148.ec2.internal" ack=​"2437048342">​
<message xmlns=​"jabber:​client" to=​"user@server.com/​tigase-90" from=​"idmURkq_1$openfin@muc.server.com/user@server.com" type=​"groupchat">​
</message>​
</body>​

The composing notification is missing.

Are there plans to implement this?

Best,

Troy


Replies (1)

Added by Wojciech Kapcia TigaseTeam almost 5 years ago

You can either allow chat states to be passed:

muc/muc-allow-chat-states[B]=true

or completely disable message filtering (i.e. all stanza will pass)

muc/message-filter-enabled[B]=false

    (1-1/1)