Python backend for a Slack's kudos plugin.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: leave meet

+12 -1
+12 -1
kefi/routers/helpers.py
··· 20 20 notify_receiver_user_chat_action, 21 21 send_action, 22 22 ) 23 - from kefi.models.plazas.helpers import create_attendance, is_attending 23 + from kefi.models.plazas.helpers import ( 24 + create_attendance, 25 + delete_attendance, 26 + is_attending, 27 + ) 24 28 from kefi.routers.responses import ( 25 29 ActionResponse, 26 30 HelpResponse, ··· 188 192 """Joins the plaza.""" 189 193 try: 190 194 create_attendance(user=self.user, session=self.session) 195 + except ValueError: 196 + ... 197 + 198 + def _block_action_meet_leave(self, view_id: str): 199 + """Leaves the plaza.""" 200 + try: 201 + delete_attendance(user=self.user, session=self.session) 191 202 except ValueError: 192 203 ... 193 204