Log self-messages too

Closes: https://todo.sr.ht/~emersion/soju/44
This commit is contained in:
Simon Ser 2020-04-03 17:15:12 +02:00
parent e1931649e4
commit 3a89152346
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -1232,6 +1232,8 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
dc.ourMessages[echoMsg] = struct{}{}
dc.lock.Unlock()
uc.appendLog(upstreamName, "<%s> %s", uc.nick, text)
uc.network.ring.Produce(echoMsg)
}
case "NOTICE":