FIX: ensures invitees are notified again when recurrence is used

FIX: ensures invitees are notified again when recurrence is used

diff --git a/plugin.rb b/plugin.rb
index 1157c9f..0b60e6f 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -611,7 +611,8 @@ after_initialize do
         next_ends_at = next_starts_at + difference.seconds
 
         event.update!(starts_at: next_starts_at, ends_at: next_ends_at)
-        event.invitees.update_all(status: nil)
+        event.invitees.update_all(status: nil, notified: false)
+        event.notify_invitees!
         event.publish_update!
       end
     end
diff --git a/spec/acceptance/post_spec.rb b/spec/acceptance/post_spec.rb
index 38ca9e8..d68249e 100644
--- a/spec/acceptance/post_spec.rb
+++ b/spec/acceptance/post_spec.rb
@@ -152,6 +152,12 @@ describe Post do
 
               expect(event_1.invitees.pluck(:status)).to eq([])
             end
+
+            it 'resends event creation notification to invitees' do
+              expect { event_1.update_with_params!(ends_at: Time.now) }.to change {
+                going_user.notifications.count
+              }.by(1)
+            end
           end
         end
       end

GitHub sha: 60f9d6cf