attempting to fix bug #913

This commit is contained in:
maxwell 2011-03-11 17:43:55 -08:00
parent ab997e2d21
commit e52d14f1e9

View file

@ -59,7 +59,7 @@ class StatusMessage < Post
regex = /@\{([^;]+); ([^\}]+)\}/
form_message = text.gsub(regex) do |matched_string|
person = people.detect{ |p|
p.diaspora_handle == $~[2]
p.diaspora_handle == $~[2] unless p.nil?
}
if opts[:plain_text]