From 515c520a155098bdae89c438950f4fb4144c1e31 Mon Sep 17 00:00:00 2001 From: Loan Robert Date: Thu, 16 May 2024 14:05:51 +0200 Subject: [PATCH] Build meeting hash from string and not from enum obj --- web/b3desk/models/meetings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/b3desk/models/meetings.py b/web/b3desk/models/meetings.py index fe1fd71c..389cc61b 100644 --- a/web/b3desk/models/meetings.py +++ b/web/b3desk/models/meetings.py @@ -157,7 +157,7 @@ def fake_id(self): del self._fake_id def get_hash(self, role: Role): - s = f"{self.meetingID}|{self.attendeePW}|{self.name}|{role}" + s = f"{self.meetingID}|{self.attendeePW}|{self.name}|{role.value}" return hashlib.sha1(s.encode("utf-8")).hexdigest() def is_running(self):