Changeset 291 in code for trunk/downstream.go


Ignore:
Timestamp:
May 5, 2020, 2:52:50 PM (5 years ago)
Author:
contact
Message:

Add time tag to echo messages

Closes: https://todo.sr.ht/~emersion/soju/59

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/downstream.go

    r289 r291  
    13621362
    13631363                        echoMsg := &irc.Message{
     1364                                Tags: irc.Tags{
     1365                                        "time": irc.TagValue(time.Now().UTC().Format(serverTimeLayout)),
     1366                                },
    13641367                                Prefix: &irc.Prefix{
    13651368                                        Name: uc.nick,
     
    13691372                                Params:  []string{upstreamName, text},
    13701373                        }
    1371 
    13721374                        uc.produce(upstreamName, echoMsg, dc)
    13731375                }
Note: See TracChangeset for help on using the changeset viewer.