changeset 928 | df051fc9d7a1 |
parent 818 | ddd102e82107 |
child 1085 | 0afbdd0905ef |
--- a/app/soc/logic/models/request.py Fri Jan 23 16:54:46 2009 +0000 +++ b/app/soc/logic/models/request.py Fri Jan 23 17:07:54 2009 +0000 @@ -63,10 +63,10 @@ """Sends out a message notifying users about the new invite/request. """ - if entity.group_accepted: + if entity.state == 'group_accepted': # this is an invite notifications.sendInviteNotification(entity) - elif entity.user_accepted: + elif entity.state == 'new': # this is a request # TODO(Lennard) Create a new request message pass