Don't regenerate the name for deserialized chats.

This commit is contained in:
Adam Treat 2023-10-28 16:41:03 -04:00
parent dc2e7d6e9b
commit 131cfcdeae

View File

@ -403,6 +403,7 @@ bool Chat::deserialize(QDataStream &stream, int version)
emit idChanged(m_id); emit idChanged(m_id);
stream >> m_name; stream >> m_name;
stream >> m_userName; stream >> m_userName;
m_generatedName = QLatin1String("nonempty");
emit nameChanged(); emit nameChanged();
QString modelId; QString modelId;