                         return
                     }
                     syncUnreadMessages() {
-                        completionHandler(UIBackgroundFetchResult.NewData)
                         APService.handleRemoteNotification(userInfo)
                     }
 

                    if let subType = userInfo["subtype"] as? String {
                        if subType == "accepted" {
                            syncFriendshipsAndDoFurtherAction {
                                completionHandler(UIBackgroundFetchResult.NewData)
                                APService.handleRemoteNotification(userInfo)
                            }
                        }
                    }
                }

                // 非前台才记录启动通知类型
                if application.applicationState != .Active {
                    self.remoteNotificationType = remoteNotificationType

                    officialMessages { messagesCount in
                        println("new officialMessages count: \(messagesCount)")

                        APService.handleRemoteNotification(userInfo)
                    }

