]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_node.rb
Be a bit more intelligent when trying to update the arguments on a link.
[rails.git] / app / models / old_node.rb
index 7b6162d8d0e612b68a44942dd2abe326dba6daee..0bb676ef51f379c4b2177f13da96f5d148e86744 100644 (file)
@@ -20,6 +20,7 @@ class OldNode < ActiveRecord::Base
     el1['id'] = self.id.to_s
     el1['lat'] = self.latitude.to_s
     el1['lon'] = self.longitude.to_s
+    el1['user'] = self.user.display_name if self.user.data_public?
     Node.split_tags(el1, self.tags)
     el1['visible'] = self.visible.to_s
     el1['timestamp'] = self.timestamp.xmlschema