package main // The shape of a mail-store message event (novox/hq ADR 0378 §2, issue 800 part A), moved here on its own so // mesh-mail-notifier (issue 800 part B) carries a byte-identical copy, the way modules/networkmanager's // uplink-tools carries ifwatchd's own file (novox/hq ADR 0241, copies_test.go). Nothing here reaches a mailbox or // a server; it only says where an account's change is told on the bus and what the three changes are called. // EventKey is where an account's change is said: mail..message. (research 049 // document 02 §5), the account by its name in the setting, never its address. func EventKey(account, change string) string { return "mail." + account + ".message." + change } // Changes are the three things said of a message. var Changes = []string{"added", "changed", "removed"}