equal
deleted
inserted
replaced
60 return ['scope_path', 'role', 'link_id'] |
60 return ['scope_path', 'role', 'link_id'] |
61 |
61 |
62 def _onCreate(self, entity): |
62 def _onCreate(self, entity): |
63 """Sends out a message notifying users about the new invite/request. |
63 """Sends out a message notifying users about the new invite/request. |
64 """ |
64 """ |
65 |
65 |
66 if entity.group_accepted: |
66 if entity.group_accepted: |
67 # this is an invite |
67 # this is an invite |
68 notifications.sendInviteNotification(entity) |
68 notifications.sendInviteNotification(entity) |
69 elif entity.user_accepted: |
69 elif entity.user_accepted: |
70 # this is a request |
70 # this is a request |
71 # TODO(Lennard) Create a new request message |
71 # TODO(Lennard) Create a new request message |