equal
deleted
inserted
replaced
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.state == 'group_accepted': |
66 if entity.status == 'group_accepted': |
67 # this is an invite |
67 # this is an invite |
68 notifications.sendInviteNotification(entity) |
68 notifications.sendInviteNotification(entity) |
69 elif entity.state == 'new': |
69 elif entity.status == 'new': |
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 |
72 pass |
72 pass |
73 |
73 |
74 |
74 |