Re: XEP-0333 - Chat Markers for MUC's

Dave Cridland <[email protected]> Fri, 13 Sep 2019 19:59:45 +0100
Newsgroups gmane.network.jabber.devel
Message-ID <CAKHUCzwA=hsW2FYpnZQJ1yEJ8XgEy8wYLm3TN4EdjedxoOGdPQ@mail.gmail.com>
--===============0601317119==
Content-Type: multipart/alternative; boundary="000000000000239697059273dc6c"

--000000000000239697059273dc6c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, 13 Sep 2019 at 19:27, george b <[email protected]> wrote:

> Hi
>
> I am struggling with chat markers in MUC's.
>
> In 1on1 chat, this works like expected:
>
> <message from=3D"[email protected]/shmoose" id=3D"
> ce3f1534-ef71-4d6f-b699-661342ab4803" to=3D"[email protected]" type=3D"chat">
>
> <body>body</body>
>
> <markable xmlns=3D"urn:xmpp:chat-markers:0"></markable>
>
> </message>
>
> <message id=3D"33abcee5-7784-47eb-8841-14ba3e725d30" to=3D"aa@
> jabber-germany.de" from=3D"[email protected]/shmoose">
>
> <displayed xmlns=3D"urn:xmpp:chat-markers:0" id=3D"
> 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=C2=A77.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=C2=A77.5). This means only the sender s=
ees
who has read their own messages - it's still a surprising amount of traffic
though!

Dave.

--000000000000239697059273dc6c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Fri, 13 Sep 2019 at 19:27, george =
b &lt;<a href=3D"mailto:[email protected]">scooterschorschi@gmail.=
com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x"><div dir=3D"ltr"><div>Hi</div><div><br></div><div>I am struggling with c=
hat markers in MUC&#39;s.</div><div><br></div><div>In 1on1 chat, this works=
 like expected:<br></div><div><br></div><div>

<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><span style=3D=
"color:rgb(170,0,0)">&lt;</span><span style=3D"font-weight:600;color:rgb(17=
0,170,0)">message</span><span style=3D"color:rgb(170,0,0)"> </span><span st=
yle=3D"font-weight:600;color:rgb(0,170,0)">from</span><span style=3D"color:=
rgb(170,0,0)">=3D&quot;aa</span><span style=3D"font-weight:600;color:rgb(0,=
170,170)">@<a href=3D"http://jabber-germany.de/shmoose" target=3D"_blank">j=
abber-germany.de/shmoose</a></span><span style=3D"color:rgb(170,0,0)">&quot=
; </span><span style=3D"font-weight:600;color:rgb(0,170,0)">id</span><span =
style=3D"color:rgb(170,0,0)">=3D&quot;</span><span style=3D"font-weight:600=
;color:rgb(0,170,170)">ce3f1534-ef71-4d6f-b699-661342ab4803</span><span sty=
le=3D"color:rgb(170,0,0)">&quot; </span><span style=3D"font-weight:600;colo=
r:rgb(0,170,0)">to</span><span style=3D"color:rgb(170,0,0)">=3D&quot;</span=
><span style=3D"font-weight:600;color:rgb(0,170,170)"><a href=3D"mailto:bb@=
jabber.de" target=3D"_blank">[email protected]</a></span><span style=3D"color:rg=
b(170,0,0)">&quot; </span><span style=3D"font-weight:600;color:rgb(0,170,0)=
">type</span><span style=3D"color:rgb(170,0,0)">=3D&quot;</span><span style=
=3D"font-weight:600;color:rgb(0,170,170)">chat</span><span style=3D"color:r=
gb(170,0,0)">&quot;&gt;</span></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><span style=3D=
"color:rgb(170,0,0)"> &lt;</span><span style=3D"font-weight:600;color:rgb(1=
70,170,0)">body</span><span style=3D"color:rgb(170,0,0)">&gt;body&lt;/</spa=
n><span style=3D"font-weight:600;color:rgb(170,170,0)">body</span><span sty=
le=3D"color:rgb(170,0,0)">&gt;</span></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><span style=3D=
"color:rgb(170,0,0)"></span><span style=3D"color:rgb(170,0,0)"></span></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><span style=3D=
"color:rgb(170,0,0)"> &lt;</span><span style=3D"font-weight:600;color:rgb(1=
70,170,0)">markable</span><span style=3D"color:rgb(170,0,0)"> </span><span =
style=3D"font-weight:600;color:rgb(0,170,0)">xmlns</span><span style=3D"col=
or:rgb(170,0,0)">=3D&quot;</span><span style=3D"font-weight:600;color:rgb(1=
70,0,0)">urn:xmpp:chat-markers:0</span><span style=3D"color:rgb(170,0,0)">&=
quot;&gt;&lt;/</span><span style=3D"font-weight:600;color:rgb(170,170,0)">m=
arkable</span><span style=3D"color:rgb(170,0,0)">&gt;</span></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><span style=3D=
"color:rgb(170,0,0)">&lt;/</span><span style=3D"font-weight:600;color:rgb(1=
70,170,0)">message</span><span style=3D"color:rgb(170,0,0)">&gt;</span></p>=
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><span style=3D=
"color:rgb(170,0,0)">
</span></p><p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><sp=
an style=3D"color:rgb(170,0,0)">&lt;</span><span style=3D"font-weight:600;c=
olor:rgb(170,170,0)">message</span><span style=3D"color:rgb(170,0,0)"> </sp=
an><span style=3D"font-weight:600;color:rgb(0,170,0)">id</span><span style=
=3D"color:rgb(170,0,0)">=3D&quot;</span><span style=3D"font-weight:600;colo=
r:rgb(0,170,170)">33abcee5-7784-47eb-8841-14ba3e725d30</span><span style=3D=
"color:rgb(170,0,0)">&quot; </span><span style=3D"font-weight:600;color:rgb=
(0,170,0)">to</span><span style=3D"color:rgb(170,0,0)">=3D&quot;aa</span><s=
pan style=3D"font-weight:600;color:rgb(0,170,170)">@<a href=3D"http://jabbe=
r-germany.de" target=3D"_blank">jabber-germany.de</a></span><span style=3D"=
color:rgb(170,0,0)">&quot; </span><span style=3D"font-weight:600;color:rgb(=
0,170,0)">from</span><span style=3D"color:rgb(170,0,0)">=3D&quot;bb</span><=
span style=3D"font-weight:600;color:rgb(0,170,170)">@<a href=3D"http://jabb=
er.de/shmoose" target=3D"_blank">jabber.de/shmoose</a></span><span style=3D=
"color:rgb(170,0,0)">&quot;&gt;</span></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><span style=3D=
"color:rgb(170,0,0)"> &lt;</span><span style=3D"font-weight:600;color:rgb(1=
70,170,0)">displayed</span><span style=3D"color:rgb(170,0,0)"> </span><span=
 style=3D"font-weight:600;color:rgb(0,170,0)">xmlns</span><span style=3D"co=
lor:rgb(170,0,0)">=3D&quot;</span><span style=3D"font-weight:600;color:rgb(=
170,0,0)">urn:xmpp:chat-markers:0</span><span style=3D"color:rgb(170,0,0)">=
&quot; </span><span style=3D"font-weight:600;color:rgb(0,170,0)">id</span><=
span style=3D"color:rgb(170,0,0)">=3D&quot;</span><span style=3D"font-weigh=
t:600;color:rgb(0,170,170)">ce3f1534-ef71-4d6f-b699-661342ab4803</span><spa=
n style=3D"color:rgb(170,0,0)">&quot;&gt;&lt;/</span><span style=3D"font-we=
ight:600;color:rgb(170,170,0)">displayed</span><span style=3D"color:rgb(170=
,0,0)">&gt;</span></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><span style=3D=
"color:rgb(170,0,0)">&lt;/</span><span style=3D"font-weight:600;color:rgb(1=
70,170,0)">message</span><span style=3D"color:rgb(170,0,0)">&gt;</span></p>=
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><span style=3D=
"color:rgb(170,0,0)"><br></span></p><p style=3D"margin:0px;text-indent:0px;=
white-space:pre-wrap"><span style=3D"color:rgb(170,0,0)">But what is the &#=
39;to&#39; address to answer the &lt;markable&gt; tag on MUC&#39;s? The end=
client didn&#39;t know the real jabber ID of the requesting room member. I =
tried sending the &lt;displayed&gt; tag to the room. Does not work. I tried=
 to send the &lt;displayed&gt; tag to the room with the members name as a r=
esource. Does not work. <br></span></p><p style=3D"margin:0px;text-indent:0=
px;white-space:pre-wrap"><span style=3D"color:rgb(170,0,0)"><br></span></p>=
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><span style=3D=
"color:rgb(170,0,0)">Does someone has a hint for me here? The description i=
n the xep 0333 does not help here (at least for me).</span></p><p style=3D"=
margin:0px;text-indent:0px;white-space:pre-wrap"><br></p></div></div></bloc=
kquote><div><br></div><div>There are two options:</div><div><br></div><div>=
* Send the marker to the entire room (XEP-0045=C2=A77.4). This means that e=
veryone sees when everyone reads the messages, which is a lot of informatio=
n - and a lot of traffic.</div><div>* Send the marker as a PM (XEP-0045=C2=
=A77.5). This means only the sender sees who has read their own messages - =
it&#39;s still a surprising amount of traffic though!</div><div><br></div><=
div>Dave.</div></div></div>

--000000000000239697059273dc6c--

--===============0601317119==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
JDev mailing list
Info: https://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________

--===============0601317119==--