             
         }
     }
-
+    private func getActionType(namespace: PageNamespace) -> RemoteNotificationAction {
+        if notification.type == .userTalkPageMessage {
+            return .userTalk
+        } else if namespace == .userTalk {
+            return .senderPage
+        } else if namespace == .talk {
+            return .articleTalk
+        } else {
+            return .article
+        }
+    }
+    
     private func titleAction(text: String, namespace: PageNamespace, normalizedTitle: String) -> NotificationsCenterAction {
-
         let url = customPrefixTitleURL(pageNamespace: namespace)
-        let data = NotificationsCenterActionData(text: text, url: url, iconType: .document, destinationText: destinationText(for: url))
+        let actionType = getActionType(namespace: namespace)
+        let data = NotificationsCenterActionData(text: text, url: url, iconType: .document, destinationText: destinationText(for: url), actionType: actionType)
         return NotificationsCenterAction.custom(data)
     }
 

        }

        let text = String.localizedStringWithFormat(goToTitleFormat, "\(title)#\(type)")
        let data = NotificationsCenterActionData(text: text, url: url, iconType: .document, destinationText: destinationText(for: url))
        return NotificationsCenterAction.custom(data)
    }



        let text = CommonStrings.notificationsChangePassword

        let data = NotificationsCenterActionData(text: text, url: url, iconType: .lock, destinationText: destinationText(for: url), actionType: nil)
        return NotificationsCenterAction.custom(data)
    }

