Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

Conversation

@filipealva
Copy link
Contributor

@filipealva filipealva commented Dec 13, 2018

@RocketChat/ios

Closes #2383

…r createdAt since it will be required to transform the message into an Unmanaged in order to update its cache
…emove the message instead of just updating its contents
…st that is not lively affected by updates on the database, that way we can get the id of a deleted object that doesn't exists anymore on the messages query results
@filipealva filipealva added this to the 3.2.0 milestone Dec 13, 2018
}

messagesQueryOldValues = messagesQuery.compactMap({ message -> AnyHashable? in
guard let id = message.identifier else {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identifier Name Violation: Variable name should be between 3 and 40 characters long: 'id' (identifier_name)

@filipealva filipealva changed the title [FIX] Message deletion [BUG][RCVC] Deleted messages are not removed from the list Dec 13, 2018
Copy link
Member

@cardoso cardoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 💯

@rafaelks rafaelks merged commit a4e2011 into develop Dec 13, 2018
@rafaelks rafaelks deleted the fix/delete-message branch December 13, 2018 22:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants