fixing bug that caused crash on testing

This commit is contained in:
talksik
2021-12-22 19:25:30 -08:00
parent 820b087507
commit 6dd790f492
@@ -293,7 +293,7 @@ extension CircleGridView {
// traverse through reversed list of messages and add to audio player queue
// TODO: protect against force unwraps
var AVPlayerItems: [AVPlayerItem] = []
let messagesRelatedToFriend = self.authSessionStore.friendMessagesDict[friend.id!]!
let messagesRelatedToFriend = self.authSessionStore.friendMessagesDict[friend.id!] ?? []
for message in messagesRelatedToFriend {