correctly getting messages tested live

This commit is contained in:
talksik
2021-12-21 16:12:18 -08:00
parent 8da274eb8e
commit ffa86fc721
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ struct Message: Identifiable, Codable {
var receiverId: String
var senderId: String
var listenCount: Int
var audioDataUrl:String?
var audioDataUrl:String
@ServerTimestamp var sentTimestamp:Date?
var firstListenTimestamp:Date?
@@ -312,6 +312,7 @@ extension AuthSessionStore {
}
return nil
}
// TODO: maybe need to call object will change here
// TODO: optimize later
// guard let snapshot = querySnapshot else {