()
| 106 | } |
| 107 | |
| 108 | func (m Message) DateString() string { |
| 109 | tFormat := string(configs.GetConfig().TextFormats.Time) |
| 110 | return m.DateSent.Format(tFormat) |
| 111 | } |
| 112 | |
| 113 | // Inbox is an ordered slice of messages for one user, newest first. |
| 114 | type Inbox []Message |