Room participants: Clear the background color of avatar

This commit is contained in:
giomfo
2016-06-10 17:41:32 +02:00
parent 3106821c19
commit ce5f2f7a63
+3 -2
View File
@@ -85,7 +85,7 @@
- (void)render:(MXKCellData *)cellData
{
// remove any pending observers
// Remove any pending observers
[[NSNotificationCenter defaultCenter] removeObserver:self];
if (mxPresenceObserver)
@@ -94,10 +94,11 @@
mxPresenceObserver = nil;
}
// Clear the default background color of a MXKImageView instance
self.thumbnailView.backgroundColor = [UIColor clearColor];
// Sanity check: accept only object of MXKContact classes or sub-classes
NSParameterAssert([cellData isKindOfClass:[MXKContact class]]);
contact = (MXKContact*)cellData;
// sanity check