prose-im / prose-core-client

Prose core XMPP client manager & protocols.
https://prose.org
Mozilla Public License 2.0
20 stars 3 forks source link

Chatstates are not working (anymore?) #32

Closed valeriansaliou closed 10 months ago

valeriansaliou commented 11 months ago

Receiving:

<message type='chat' to='valerian@prose.org/web' from='valerian@valeriansaliou.name/Laptop' id='purple40136130' xml:lang='en' xmlns='jabber:client'><composing xmlns='http://jabber.org/protocol/chatstates'/></message>

Results in error:

ERROR prose_core_client::client::room::room: Failed to parse received message: Failed to interpret message Message { from: Some(Full(FullJID(valerian@valeriansaliou.name/Laptop))), to: Some(Full(FullJID(valerian@prose.org/web))), id: Some(Id("purple40136132")), stanza_id: None, origin_id: None, type: Chat, body: None, subject: None, chat_state: Some(Composing), replace: None, reactions: None, fastening: None, fallback: None, delay: None, markable: false, displayed_marker: None, received_marker: None, acknowledged_marker: None, archived_message: None, sent_carbon: None, received_carbon: None, store: None, direct_invite: None, mediated_invite: None, error: None }

This comes from Adium. Chatstates from Prose to Prose are also non-working.

nesium commented 11 months ago

This is now fixed and tested in the core lib. Now it needs to be connected to the UI in the web app since the existing UI didn't support handling multiple composing users.