[jdev] XEP-0333 - Chat Markers for MUC's

Dave Cridland dave at cridland.net
Fri Sep 13 18:59:45 UTC 2019


On Fri, 13 Sep 2019 at 19:27, george b <scooterschorschi at gmail.com> wrote:

> Hi
>
> I am struggling with chat markers in MUC's.
>
> In 1on1 chat, this works like expected:
>
> <message from="aa at jabber-germany.de/shmoose" id="
> ce3f1534-ef71-4d6f-b699-661342ab4803" to="bb at jabber.de" type="chat">
>
> <body>body</body>
>
> <markable xmlns="urn:xmpp:chat-markers:0"></markable>
>
> </message>
>
> <message id="33abcee5-7784-47eb-8841-14ba3e725d30" to="aa@
> jabber-germany.de" from="bb at jabber.de/shmoose">
>
> <displayed xmlns="urn:xmpp:chat-markers:0" id="
> ce3f1534-ef71-4d6f-b699-661342ab4803"></displayed>
>
> </message>
>
>
> But what is the 'to' address to answer the <markable> tag on MUC's? The
> endclient didn't know the real jabber ID of the requesting room member. I
> tried sending the <displayed> tag to the room. Does not work. I tried to
> send the <displayed> tag to the room with the members name as a resource.
> Does not work.
>
>
> Does someone has a hint for me here? The description in the xep 0333 does
> not help here (at least for me).
>
>
>
There are two options:

* Send the marker to the entire room (XEP-0045§7.4). This means that
everyone sees when everyone reads the messages, which is a lot of
information - and a lot of traffic.
* Send the marker as a PM (XEP-0045§7.5). This means only the sender sees
who has read their own messages - it's still a surprising amount of traffic
though!

Dave.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20190913/f07ecb96/attachment.html>


More information about the JDev mailing list