From 405df98fd0003700f8a9b0c6dc0c22febe4cd19c Mon Sep 17 00:00:00 2001 From: nixzhu Date: Sat, 27 Jun 2015 19:15:05 +0800 Subject: [PATCH] fix self's audio playback (can not use weak message in ChatRightBaseCell) --- Yep/Views/Cells/ChatRightBase/ChatRightBaseCell.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yep/Views/Cells/ChatRightBase/ChatRightBaseCell.swift b/Yep/Views/Cells/ChatRightBase/ChatRightBaseCell.swift index acd83362..6677db19 100644 --- a/Yep/Views/Cells/ChatRightBase/ChatRightBaseCell.swift +++ b/Yep/Views/Cells/ChatRightBase/ChatRightBaseCell.swift @@ -48,7 +48,7 @@ class ChatRightBaseCell: UICollectionViewCell { } } - weak var message: Message? { + var message: Message? { didSet { tryUpdateMessageState() }