[Standards] message type='headline'
stpeter at stpeter.im
Thu Aug 30 15:50:48 UTC 2007
Richard Dobson wrote:
> Joe Hildebrand wrote:
>> As an aside to the discussion on priority ties, I think it would be
>> cool for us to have a defined mechanism for sending messages to all
>> online (non-negative priority) resources. Message type='headline' has
>> never been fully exploited, nor terribly well-described, and I propose
>> that we co-opt it for this purpose.
>> The existing usage for headline messages is derived from a one-liner
>> in XEP-160, but I believe that the original intent was that headlines
>> are for transient notification. If they were specified in 3921bis
>> like this:
>> Messages with type headline addressed to a bare JID SHOULD be
>> delivered to all online resources that have not specified a negative
>> presence priority. Messages of type headline SHOULD NOT be stored by
>> the server for later delivery.
>> Then I think we get some cool new functionality without breaking
> Thats an interesting idea, although personally I think using AMP would
> be better for this as it would give you greater levels of control, and
> then depreciate headline as AMP already allows you to do what headline
> can (i.e. not save offline) and is more flexible going forward.
I don't think we want to deprecate headline messages, since they have
additional semantics (e.g., no response expected).
And yes AMP gives you greater levels of control, but at the cost of
great levels of complexity. Many existing server implementations already
handle headline messages as a kind of temporally-sensitive alert and
therefore don't store them offline, so I see this text change as merely
codifying existing practice.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
More information about the Standards