MESSENGER-6142 remove jitsi, sentry, posthog and sublibraries

This commit is contained in:
Frank Rotermund
2024-06-18 14:35:38 +02:00
parent 2b3f907bf2
commit c8162a06dd
18 changed files with 142 additions and 110 deletions
+10
View File
@@ -52,7 +52,9 @@
#import "ReadReceiptsViewController.h"
#ifdef CALL_STACK_JINGLE
#import "JitsiViewController.h"
#endif
#import "RoomEmptyBubbleCell.h"
#import "RoomMembershipExpandedBubbleCell.h"
@@ -2917,7 +2919,11 @@ static CGSize kThreadListBarButtonItemImageSize;
- (BOOL)isRoomHavingAJitsiCallForWidgetId:(NSString*)widgetId
{
#ifdef CALL_STACK_JINGLE
return [[AppDelegate theDelegate].callPresenter.jitsiVC.widget.roomId isEqualToString:widgetId];
#else
return NO;
#endif
}
#pragma mark - Dialpad
@@ -3991,10 +3997,12 @@ static CGSize kThreadListBarButtonItemImageSize;
}
}];
#ifdef CALL_STACK_JINGLE
MXEvent *widgetEvent = userInfo[kMXKRoomBubbleCellEventKey];
Widget *widget = [[Widget alloc] initWithWidgetEvent:widgetEvent
inMatrixSession:self.customizedRoomDataSource.mxSession];
[[JitsiService shared] resetDeclineForWidgetWithId:widget.widgetId];
#endif
}
else if ([actionIdentifier isEqualToString:RoomGroupCallStatusCell.leaveAction])
{
@@ -4003,11 +4011,13 @@ static CGSize kThreadListBarButtonItemImageSize;
}
else if ([actionIdentifier isEqualToString:RoomGroupCallStatusCell.declineAction])
{
#ifdef CALL_STACK_JINGLE
MXEvent *widgetEvent = userInfo[kMXKRoomBubbleCellEventKey];
Widget *widget = [[Widget alloc] initWithWidgetEvent:widgetEvent
inMatrixSession:self.customizedRoomDataSource.mxSession];
[[JitsiService shared] declineWidgetWithId:widget.widgetId];
[self reloadBubblesTable:YES];
#endif
}
else if ([actionIdentifier isEqualToString:RoomCreationIntroCell.tapOnAvatarView])
{