On 06/16/2008 11:53 AM, Marcus Lundblad wrote:
>> I don't have any preferences about that, though perhaps a <text/> child
>> be better in case we want to internationalize the messages (different
>> message for English vs. German or whatever) -- personally that seems
>> like overkill to me, but you never know what users will get excited
>> about. ;-)
>>
> Yes, that could be one possible use-case. Though that would probably
> require some set of pre-defined texts that clients know about. 

I don't think that would be required. It's user-specified, you can put
anything there you like. But what gets shown to the receiver if the
message is something like the following?

<message from='[EMAIL PROTECTED]/lab'
         to='[EMAIL PROTECTED]/home'
         type='headline'>
  <body>Why don't you answer, Herbie?</body>
  <attention xmlns='urn:xmpp:attention'>
    <text>Dude, wake up!</text>
  </attention>
</message>

Seems confusing to me.

> Maybe
> that would be a bit out-of-scope for the XEP...
> 
> Perhaps it would suffice if the user can add an arbitrary message to the
> attention message (using the normal means).

Why not just use the message body?

> Maybe an alternative could be a "type" attribute <attention/> tag. But
> then the definition of what types there are is left to be defined. Maybe
> that would be a bit too detailed.

I think so.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to