attempting to fix bug #913
This commit is contained in:
parent
ab997e2d21
commit
e52d14f1e9
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ class StatusMessage < Post
|
||||||
regex = /@\{([^;]+); ([^\}]+)\}/
|
regex = /@\{([^;]+); ([^\}]+)\}/
|
||||||
form_message = text.gsub(regex) do |matched_string|
|
form_message = text.gsub(regex) do |matched_string|
|
||||||
person = people.detect{ |p|
|
person = people.detect{ |p|
|
||||||
p.diaspora_handle == $~[2]
|
p.diaspora_handle == $~[2] unless p.nil?
|
||||||
}
|
}
|
||||||
|
|
||||||
if opts[:plain_text]
|
if opts[:plain_text]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue