mirror of https://github.com/oxen-io/session-ios
				
				
				
			Added logic to unsubscribe for legacy one-to-one PNs
							parent
							
								
									4330a40f6f
								
							
						
					
					
						commit
						61ad85b97b
					
				@ -0,0 +1,14 @@
 | 
			
		||||
// Copyright © 2023 Rangeproof Pty Ltd. All rights reserved.
 | 
			
		||||
 | 
			
		||||
import Foundation
 | 
			
		||||
import SessionSnodeKit
 | 
			
		||||
 | 
			
		||||
extension PushNotificationAPI {
 | 
			
		||||
    struct LegacyUnsubscribeRequest: Codable {
 | 
			
		||||
        private let token: String
 | 
			
		||||
        
 | 
			
		||||
        init(token: String) {
 | 
			
		||||
            self.token = token
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
					Loading…
					
					
				
		Reference in New Issue