diff --git a/api/events/event_handlers/generate_conversation_name_when_first_message_created.py b/api/events/event_handlers/generate_conversation_name_when_first_message_created.py index 12cb325e452c98..74dc8d5112fa5c 100644 --- a/api/events/event_handlers/generate_conversation_name_when_first_message_created.py +++ b/api/events/event_handlers/generate_conversation_name_when_first_message_created.py @@ -26,5 +26,6 @@ def handle(sender, **kwargs): conversation.name = name except: pass - + + db.session.merge(conversation) db.session.commit()