Touch the session (update timestamp)
(&mut self)
| 407 | |
| 408 | /// Touch the session (update timestamp) |
| 409 | pub fn touch(&mut self) { |
| 410 | let now = Utc::now(); |
| 411 | self.time.updated = now.timestamp_millis(); |
| 412 | self.updated_at = now; |
| 413 | } |
| 414 | |
| 415 | // ======================================================================== |
| 416 | // Message Operations |
no outgoing calls