(msg tea.KeyPressMsg)
| 185 | type postingActionEffect int |
| 186 | |
| 187 | const ( |
| 188 | postingActionNone postingActionEffect = iota |
| 189 | postingActionRemove |
| 190 | postingActionSeen |
| 191 | postingActionUnseen |
| 192 | postingActionIgnore |
| 193 | postingActionStopIgnoring |
| 194 | ) |
| 195 | |
| 196 | type postingActionDoneMsg struct { |
| 197 | action string |
| 198 | boxID int64 |
| 199 | sourceKind mail.Kind |
| 200 | postingID int64 |
| 201 | effect postingActionEffect |
| 202 | seen bool // the action was taken on the Previously Seen screen |
| 203 | err error |
| 204 | } |
| 205 | |
| 206 | // postingSeenMsg reports the mark-seen that opening a thread triggers on its |
| 207 | // own, as the web app does out of band once it has rendered the topic. |
| 208 | type postingSeenMsg struct { |
nothing calls this directly
no test coverage detected