show which chats are sent by you when unauthenticated

This commit is contained in:
cryptonote-social 2020-12-28 08:29:06 -08:00
parent 96ea5f3c9c
commit 153dcc1d7e

View File

@ -152,7 +152,7 @@ func Mine(c *MinerConfig) error {
chatsSent[id] = struct{}{}
u := c.Username
if c.Wallet == "" {
u = client.UNAUTHENTICATED_USER_STRING
u = client.UNAUTHENTICATED_USER_STRING + " (sent by you)"
crylog.Warn("Sending chat without authentication. Provide -wallet string with your user login to authenticate.")
}
crylog.Info("\n\nCHAT MESSAGE QUEUED TO SEND:\n[", u, "] (", time.Now().Truncate(time.Second), ")\n", chatMsg, "\n")