weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [task #12255] "server-time" capability support


From: Mantas M.
Subject: [Weechat-dev] [task #12255] "server-time" capability support
Date: Mon, 24 Sep 2012 13:45:42 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1

URL:
  <http://savannah.nongnu.org/task/?12255>

                 Summary: "server-time" capability support
                 Project: WeeChat
            Submitted by: grawity
            Submitted on: Mon 24 Sep 2012 01:45:42 PM GMT
                Category: irc plugin
         Should Start On: Mon 24 Sep 2012 12:00:00 AM GMT
   Should be Finished on: Mon 24 Sep 2012 12:00:00 AM GMT
                Priority: 1 - Later
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                IRC nick: 

    _______________________________________________________

Details:

Latest Git version of ZNC supports an IRC protocol extension to forward the
original message timestamp (for delayed messages) to attached clients. It
would be useful to have this supported in WeeChat.

(Originally requested on IRC by nyuszika7h.)

----

Previously, when a bouncer had to send delayed messages to the client, it
would prefix/suffix the original receive time to the message text itself;
e.g.


<-- :address@hidden PRIVMSG #weechat :[16:32] Hi everyone!


The new "server-time" capability, as implemented by ZNC, modifies the protocol
itself while leaving the message text intact:


--> CAP REQ :server-time
<-- CAP ACK grawity :server-time
<-- @time=1348493754.432 :address@hidden PRIVMSG #weechat :Hi everyone!


The general syntax for "@tag=value" is described in the IRCv3 "message-tags"
specification
<https://github.com/atheme/ircv3-specifications/blob/master/specification/message-tags-3.2>.

The "time" tag is described in the IRCv3 "server-time" extension
<https://github.com/atheme/ircv3-specifications/blob/master/extensions/server-time-3.2>.
(Summary: The tag's value is a Unix timestamp.)




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?12255>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]