better comment
This commit is contained in:
parent
7f9058226f
commit
60d3eecfc0
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user