                             }
 
                             if let yepTeam = userWithUsername(yepTeamUsername, inRealm: realm) {
-                                syncSocialWorkPiece(SocialWorkPiece.Dribbble(shot), yepTeam: yepTeam, inRealm: realm)
+                                messageIDs += messageIDsFromSyncSocialWorkPiece(SocialWorkPiece.Dribbble(shot), yepTeam: yepTeam, inRealm: realm)
 
                             } else {
                                 discoverUserByUsername(yepTeamUsername, failureHandler: nil, completion: { discoveredUser in

                            let newSocialWorkDribbbleShot = SocialWorkDribbbleShot()
                            newSocialWorkDribbbleShot.fillWithDribbbleShot(shot)

                            let _ = try? realm.write {
                                realm.add(newSocialWorkDribbbleShot)
                            }

                            socialWorkDribbbleShot = newSocialWorkDribbbleShot
                        }

                                            return
                                        }

                                        var messageIDs = [String]()

                                        realm.beginWrite()

                                        if let yepTeam = yepTeamFromDiscoveredUser(discoveredUser, inRealm: realm) {
                                            messageIDs += messageIDsFromSyncSocialWorkPiece(SocialWorkPiece.Dribbble(shot), yepTeam: yepTeam, inRealm: realm)
                                        }

                                        let _ = try? realm.commitWrite()

                                        // 通知更新 UI
                                        tryPostNewMessagesReceivedNotificationWithMessageIDs(messageIDs, messageAge: .New)
                                    }
                                })
                            }
                        }

                        let _ = try? realm.commitWrite()

                        // 通知更新 UI
                        tryPostNewMessagesReceivedNotificationWithMessageIDs(messageIDs, messageAge: .New)
                    }
               })
            }
