Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Commit

Permalink
Redacting membership events should immediately reset the displayname …
Browse files Browse the repository at this point in the history
…& avatar of room members

element-hq/element-ios#443

code cleaning
  • Loading branch information
giomfo committed Aug 12, 2016
1 parent 21754a0 commit 1a53111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MatrixKit/Models/Room/MXKRoomDataSource.m
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ - (void)setEventsFilterForMessages:(NSArray *)eventsFilterForMessages
if ([event.eventId isEqualToString:redactionEvent.redacts])
{
// Check whether the event was not already redacted (Redaction may be handled by event timeline too).
if (!event.redactedBecause)
if (!event.isRedactedEvent)
{
redactedEvent = [event prune];
redactedEvent.redactedBecause = redactionEvent.JSONDictionary;
Expand Down

0 comments on commit 1a53111

Please # to comment.