ishapi 0.1.8.246 → 0.1.8.247

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ddbe9fcd8124677c56eefec990b277af917d78858eb4407c79afc1640b39898
4
- data.tar.gz: 9dec346d2bde34a2dae7256ba8b389e2432834c8424a42b996f4f0eb216d56f8
3
+ metadata.gz: 2aacf8a72aa5ec583348564983e0f4669c77cfe34e5fc2937ec2fd034035da67
4
+ data.tar.gz: 86176dafc89e2950c1fcdbcf05b109025cf8daac11419ec456c1d2016d9b1779
5
5
  SHA512:
6
- metadata.gz: bf1287a34c2f5f289d5770b8123c6a7fe65b3ebbc3eb71761926e3679a0dbbacd3dd1996226569e8c2f60d830703c2c951fbf1054214d69bda96d28f2dd27a29
7
- data.tar.gz: dc5d08229ed5792dd1ff6e5c1e3f6322605d2222ffe53a988db24a133ad5090065c803b0fe2bd1d3c2b45f9cfa5c95b8385c5c82241274c5b73f2abf7dd7ebd6
6
+ metadata.gz: 122a756190be6286e6ea4859aba9b2a7122ef9299c3d43b382d2633be8797b4b6fa24a1631acb37f351d872ff8b325f52f34748e052a5bb890e09bca69bfe6d0
7
+ data.tar.gz: 559b8e6c0b1bc7c2124aa7e3b57056212db0db13c6631952e4d7abfec41f891aa04301b74606f7a1b2f1668b4b5dacc61a408025053714005bac1e600c1a9825
@@ -131,7 +131,7 @@ class Ishapi::EmailMessageIntakeJob < Ishapi::ApplicationJob
131
131
  @message.email_conversation_id = conv.id
132
132
  conv.update_attributes({
133
133
  state: Conv::STATE_UNREAD,
134
- latest_at: the_mail.date,
134
+ latest_at: the_mail.date || Time.now.to_datetime,
135
135
  wp_term_ids: ( [ email_inbox_tag_id ] + conv.wp_term_ids + stub.wp_term_ids ).uniq,
136
136
  })
137
137
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ishapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.246
4
+ version: 0.1.8.247
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-27 00:00:00.000000000 Z
11
+ date: 2023-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails