X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c02c516047f20cdaa8120968e514420f6c2c6034..0be6dd860f1843681e6380fbe69ca71a6eb01ab7:/app/models/changeset.rb diff --git a/app/models/changeset.rb b/app/models/changeset.rb index 5938d0835..4a4d12124 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -145,6 +145,7 @@ class Changeset < ActiveRecord::Base end el1['user'] = user_display_name_cache[self.user_id] unless user_display_name_cache[self.user_id].nil? + el1['uid'] = self.user_id.to_s if self.user.data_public? self.tags.each do |k,v| el2 = XML::Node.new('tag')