Skip to content

Commit a64a2b8

Browse files
authored
Merge pull request #787 from Adamant-im/trello.com/c/JnQ8ArFZ
[trello.com/c/JnQ8ArFZ] fix updateLastTransaction
2 parents 2809b47 + 8c5f1f9 commit a64a2b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adamant/Services/DataProviders/AdamantChatsProvider.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2058,8 +2058,8 @@ extension AdamantChatsProvider {
20582058
privateContext.performAndWait {
20592059
if let transaction = (try? privateContext.fetch(request))?.first {
20602060
transaction.isHidden = true
2061-
try? transaction.managedObjectContext?.save()
20622061
transaction.chatroom?.updateLastTransaction()
2062+
try? transaction.managedObjectContext?.save()
20632063
}
20642064
}
20652065
}

0 commit comments

Comments
 (0)