Skip to content

Commit 73f5518

Browse files
authored
Merge pull request #487 from IBM-MIL/develop
Submission build
2 parents 0a6fc39 + 7674cbf commit 73f5518

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

backend/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"start": "node --max-old-space-size=400 app.js"
77
},
88
"dependencies": {
9-
"bluemix-autoscaling-agent" : "*",
109
"@newrelic/native-metrics": "^2.0.2",
1110
"apn": "^2.1.2",
11+
"bluemix-autoscaling-agent": "*",
1212
"body-parser": "~1.15.1",
1313
"cfenv": "^1.0.3",
1414
"composable-middleware": "^0.3.0",
@@ -20,6 +20,7 @@
2020
"jsonwebtoken": "^7.1.9",
2121
"morgan": "~1.7.0",
2222
"newrelic": "^1.36.2",
23+
"nodemailer": "^2.7.2",
2324
"passport": "^0.3.2",
2425
"passport-facebook": "^2.1.1",
2526
"passport-facebook-token": "^3.3.0",

iOS/TogetherStream/TogetherStream/Controllers/StreamViewController.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -506,18 +506,18 @@ class StreamViewController: UIViewController {
506506
///
507507
/// - Parameter message: The message whos subject would be blocked.
508508
fileprivate func blockSubject(of message: Message) {
509-
let alert = UIAlertController(title: "Block User", message: "Are you sure you wish to block this user? They will be removed from your friends list. This action cannot be undone.", preferredStyle: .alert)
509+
let alert = UIAlertController(title: "Block User", message: "Are you sure you wish to block this user? They will be removed from your friends list and you will be removed from theirs. This action cannot be undone.", preferredStyle: .alert)
510510
alert.addAction(UIAlertAction(title: "Cancel", style: .cancel))
511511
alert.addAction(UIAlertAction(title: "Confirm", style: .destructive) {_ in
512512
self.viewModel.blockSubject(of: message) { error in
513513
var title: String, message: String
514514
if let error = error {
515-
title = "Failure"
515+
title = "Failed to Block User"
516516
message = error.localizedDescription
517517
}
518518
else {
519-
title = "Success"
520-
message = "Blocked"
519+
title = "User Blocked"
520+
message = "User has been blocked. They will be removed from your friends list and you will be removed from theirs."
521521
}
522522
let alert = UIAlertController(title: title, message: message, preferredStyle: .alert)
523523
alert.addAction(UIAlertAction(title: "OK", style: .default))

0 commit comments

Comments
 (0)