implement draft/pre-away (#2044)

* implement draft/pre-away
* clean up some subtleties in auto-away aggregation.
* consistently apply auto-away only to always-on
* `AWAY *` should not produce user-visible changes wherever possible
This commit is contained in:
Shivaram Lingamneni
2023-02-04 21:50:14 -08:00
committed by GitHub
parent 12f7796933
commit 1da11ae8ae
8 changed files with 63 additions and 38 deletions
+3 -2
View File
@@ -89,8 +89,9 @@ func init() {
minParams: 1,
},
"AWAY": {
handler: awayHandler,
minParams: 0,
handler: awayHandler,
usablePreReg: true,
minParams: 0,
},
"BATCH": {
handler: batchHandler,