better comment

This commit is contained in:
Avently 2024-01-29 05:45:00 -08:00
parent 7f9058226f
commit 60d3eecfc0

View File

@ -169,7 +169,7 @@ private func createProfile(_ displayName: String, showAlert: (UserProfileAlert)
m.currentUser = try apiCreateActiveUser(profile) m.currentUser = try apiCreateActiveUser(profile)
if m.users.isEmpty { if m.users.isEmpty {
try startChat() try startChat()
// Chat was started but no user data was loaded at the moment // Chat was started but no user data was loaded at the moment (it may happen after deleting the last user)
if m.chats.isEmpty { if m.chats.isEmpty {
try getUserChatData() try getUserChatData()
} }