added /cc to replays

This commit is contained in:
Jeena Paradies 2013-02-23 22:58:28 +01:00
parent fc72ad484e
commit b37eb4a9cb
2 changed files with 2 additions and 1 deletions

View file

@ -13,7 +13,7 @@ body {
a {
text-decoration: none;
color: #00317a;
outline: 0;
outline: 0;
}
ol {

View file

@ -865,6 +865,7 @@ function(jQuery, Paths, URI, HostApp, Cache) {
Core.prototype.replyTo = function(entity, status_id, mentions, is_private) {
var string = "^" + entity.replace("https://", "") + " ";
if(mentions.length > 0) string += "\n\n/cc ";
for (var i = 0; i < mentions.length; i++) {
var e = mentions[i].entity.replace("https://", "");
if(string.indexOf(e) == -1) string += "^" + e + " ";