-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the Tchap architecture with the Element one, and plug the rooms list to the rooms fetchers #484
Conversation
…r Rooms DataSource
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a comment that we can discuss about
I listed the observed issues that we will have to consider after the merge
@@ -18,7 +18,7 @@ import UIKit | |||
import PushKit | |||
|
|||
@UIApplicationMain | |||
class AppDelegate: UIResponder, UIApplicationDelegate { | |||
class AppDelegate: UIResponder, UIApplicationDelegate, PushNotificationServiceDelegate { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove PushNotificationServiceDelegate here, it is already handled by LegacyAppDelegate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in last commit
@@ -122,4 +125,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate { | |||
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable: Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) { | |||
self.legacyAppDelegate.application(application, didReceiveRemoteNotification: userInfo, fetchCompletionHandler: completionHandler) | |||
} | |||
|
|||
@objc func pushNotificationService(_ pushNotificationService: PushNotificationService, shouldNavigateToRoomWithId roomId: String) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may be removed now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in last commit
#448
#460