dev #5

Closed
ly wants to merge 93 commits from dev into dev-db
Showing only changes of commit 33b2281b7b - Show all commits
+3
View File
@@ -27,6 +27,9 @@ class conversations:
return None
def add(self,user_id:str,name:str,id:str = ''):
import uuid
if id == '':
id= str(uuid.uuid4())
template = BaseConfig.ConversationCfg
template['id'] = id
template['user_id'] = user_id