diff --git a/app/controllers/wopi_controller.rb b/app/controllers/wopi_controller.rb index 9c1007bdf..3bc46e148 100644 --- a/app/controllers/wopi_controller.rb +++ b/app/controllers/wopi_controller.rb @@ -207,6 +207,8 @@ class WopiController < ActionController::Base @organization.take_space(@asset.estimated_size) @organization.save + @protocol.update(updated_at: Time.now) if @protocol + response.headers['X-WOPI-ItemVersion'] = @asset.version render nothing: :true, status: 200 and return else