diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb
index f9e0e26c736813820eb11a1492cfcafb1fcf4e96..d3295ea7729f0c1aec73d4ad2b55e99031e2be46 100644
--- a/app/controllers/posts_controller.rb
+++ b/app/controllers/posts_controller.rb
@@ -99,6 +99,7 @@ class PostsController < ApplicationController
     end
 
     if @post.save
+      @post.update(last_activity: @post.created_at, last_activity_by: current_user)
       if @post_type.has_parent?
         unless @post.user_id == @post.parent.user_id
           @post.parent.user.create_notification("New response to your post #{@post.parent.title}",