3779: Add comments

This commit is contained in:
MaximeE
2022-02-25 17:03:09 +01:00
parent 4a003d49b1
commit ee13527618
+2
View File
@@ -1249,6 +1249,8 @@ const NSTimeInterval kResizeComposerAnimationDuration = .05;
// The event modified is always fetch from the actual data source
MXEvent *eventModified = [self.roomDataSource eventWithEventId:customizedRoomDataSource.selectedEventId];
// In the case the event is a reply or and edit, and it's done on a non-live timeline
// we have to fetch live timeline in order to display the event properly
[self setupRoomDataSourceToResolveEvent:^(MXKRoomDataSource *roomDataSource) {
if (self.inputToolBarSendMode == RoomInputToolbarViewSendModeReply && eventModified)
{