added /cc to replays
This commit is contained in:
parent
fc72ad484e
commit
b37eb4a9cb
2 changed files with 2 additions and 1 deletions
|
@ -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 + " ";
|
||||
|
|
Reference in a new issue