I'm definitely not 100% set on using XEP-0224, I just considered it a
good potential reuse of our existing tech, but if you believe it is
not, I'm happy to be convinced otherwise.
That said, XEP-0224 is clearly not meant to be used in the way you
described. It should not affect the display of the message itself, it
should only draw the users attention to the chat session. The
<attention/> tag can even appear without a body. The implementation
notes list various ways to implement it, but none of them affect the
display of the message itself after the attention was grabbed.
Marvin
On Tue, 2026-03-17 at 19:41 +0100, Philipp Hörist wrote:
On Tue, Mar 17, 2026, at 08:28, Marvin W. via
Standards wrote:
(a) Markup to the body, that has the purpose to
indicate that a
part of
the body is referring to a user or a group of users
(b) Some indication that the message should have some sort of
priority
to a user or a group of users
- For notifications in MUCs, to solve the issue that the home
server
does not understand details like affiliation/hats, have a new
protocol
that allows a sender to indicate which group they want to notify
and
then have the MUC translate this into XEP-0224 attention elements
when
reflecting the message to applicable recipients.
- For priority notifications in direct chats (if messages aren't
notified by default), just use XEP-0224 directly.
I cant really get on board on the idea that a server translates every
message where i am pinged into a XEP-0224 attention.
This XEP is very old and probably has decades of implementations. I
plan to use it for what it was intended in my opinion and thats to
style a message specially e.g. check how MS Teams does it, see
screenshot in attachment.
Now the idea that every time someone pings me, my client marks the
message as !!! IMPORTANT !!! sounds wrong.
Regards
Philipp
_______________________________________________
Standards mailing list -- standards(a)xmpp.org
To unsubscribe send an email to standards-leave(a)xmpp.org