Changeset 559 in code for trunk/downstream.go
- Timestamp:
- Jun 14, 2021, 7:44:38 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/downstream.go
r555 r559 132 132 // require support from all upstreams to be enabled 133 133 var needAllDownstreamCaps = map[string]string{ 134 "account-tag": "", 134 135 "away-notify": "", 135 136 "extended-join": "", … … 376 377 case "time": 377 378 supported = dc.caps["server-time"] 379 case "account": 380 supported = dc.caps["account"] 378 381 } 379 382 if !supported { … … 1951 1954 echoTags := tags.Copy() 1952 1955 echoTags["time"] = irc.TagValue(time.Now().UTC().Format(serverTimeLayout)) 1956 if uc.account != "" { 1957 echoTags["account"] = irc.TagValue(uc.account) 1958 } 1953 1959 echoMsg := &irc.Message{ 1954 1960 Tags: echoTags,
Note:
See TracChangeset
for help on using the changeset viewer.