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

Dave Cridland <[email protected]> Fri, 13 Sep 2019 22:40:14 +0100
Newsgroups gmane.network.jabber.devel
Message-ID <CAKHUCzzz+vJx8e7wfyO1-u6BrqozNthiLPESAz74u25mm4=hWg@mail.gmail.com>
--===============1580999809==
Content-Type: multipart/alternative; boundary="0000000000001e863e0592761a14"

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

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

> Thanks for the quick response :-).
> I read the xep and it sounds like what I was looking for. I tried it but
> it doesn't work within the first test. I have to investigate more what's
> going on there.
>
>
A lot of clients use XEP-0184 instead, and many ignore both entirely from
XEP-0045 chatrooms.


> Best regards
> Schorsch
>
> Am Fr., 13. Sept. 2019 um 21:02 Uhr schrieb Dave Cridland <
> [email protected]>:
>
>>
>>
>> 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 t=
o
>>> send the <displayed> tag to the room with the members name as a resourc=
e.
>>> 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 tha=
t
>> 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 sende=
r sees
>> who has read their own messages - it's still a surprising amount of traf=
fic
>> though!
>>
>> Dave.
>> _______________________________________________
>> JDev mailing list
>> Info: https://mail.jabber.org/mailman/listinfo/jdev
>> Unsubscribe: [email protected]
>> _______________________________________________
>>
> _______________________________________________
> JDev mailing list
> Info: https://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: [email protected]
> _______________________________________________
>

--0000000000001e863e0592761a14
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 22:08, 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>Thanks for the quick response :-).</div><div>I rea=
d the xep and it sounds like what I was looking for. I tried it but it does=
n&#39;t work within the first test. I have to investigate more what&#39;s g=
oing on there.</div><div><br></div></div></blockquote><div><br></div><div>A=
 lot of clients use XEP-0184 instead, and many ignore both entirely from XE=
P-0045 chatrooms.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex"><div dir=3D"ltr"><div></div><div>Best regards</div><div>Scho=
rsch<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">Am Fr., 13. Sept. 2019 um 21:02=C2=A0Uhr schrieb Dave Cridl=
and &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">dave@cridlan=
d.net</a>&gt;:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><=
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]" target=3D"_blank">scoote=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex"><div dir=3D"ltr"><div>Hi</div><div><br></div><div>I am =
struggling with chat 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>
_______________________________________________<br>
JDev mailing list<br>
Info: <a href=3D"https://mail.jabber.org/mailman/listinfo/jdev" rel=3D"nore=
ferrer" target=3D"_blank">https://mail.jabber.org/mailman/listinfo/jdev</a>=
<br>
Unsubscribe: <a href=3D"mailto:[email protected]" target=3D"_blan=
k">[email protected]</a><br>
_______________________________________________<br>
</blockquote></div>
_______________________________________________<br>
JDev mailing list<br>
Info: <a href=3D"https://mail.jabber.org/mailman/listinfo/jdev" rel=3D"nore=
ferrer" target=3D"_blank">https://mail.jabber.org/mailman/listinfo/jdev</a>=
<br>
Unsubscribe: <a href=3D"mailto:[email protected]" target=3D"_blan=
k">[email protected]</a><br>
_______________________________________________<br>
</blockquote></div></div>

--0000000000001e863e0592761a14--

--===============1580999809==
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]
_______________________________________________

--===============1580999809==--