aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/models/participation.rb')
-rw-r--r--site/app/models/participation.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/site/app/models/participation.rb b/site/app/models/participation.rb
index b7ca39a..e76ebf5 100644
--- a/site/app/models/participation.rb
+++ b/site/app/models/participation.rb
@@ -37,6 +37,9 @@ class Participation < ActiveRecord::Base
agenda = Agenda.current
for nick in participant_nicks
user = ::User.find_by_irc_nick(nick)
+ unless user.council_member?
+ user = Proxy.proxy_is(user).agenda_is(agenda)._?.first.council_member
+ end
next if user.nil?
Participation.create! :irc_nick => user.irc_nick,
:participant => user,