Unverified Commit f7f6549f authored by Aral Balkan's avatar Aral Balkan
Browse files

Removed ‘Send Friendship Request’ text from new person announcements. Closes #171.

parent 74fe32f3
......@@ -363,7 +363,7 @@ class MainInterfaceSplitViewController: NSSplitViewController
println("ℹ️ About to post the new person message. (\(self))\n")
// Create the message, persist it, and notify the timeline to show it.
let messageString = "<p>Hey everyone, \(CurrentPerson.sharedInstance.displayName!) just joined Ind.ie! <a href='indie://friend/\(CurrentPerson.sharedInstance.accountHandle!)'>Send friendship request.</a></p>"
let messageString = "<p>Hey everyone, \(CurrentPerson.sharedInstance.displayName!) just joined Ind.ie.</p>"
let messageData = messageString.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)
let messageAttributedString = NSAttributedString(HTML: messageData!, options: [NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType, NSCharacterEncodingDocumentAttribute: NSUTF8StringEncoding], documentAttributes: nil)!
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment