added posting private posts
This commit is contained in:
parent
eb540fae1d
commit
2ca5d1ea68
12 changed files with 144 additions and 92 deletions
|
@ -71,7 +71,7 @@ function(HostApp, Core, Paths, URI) {
|
|||
if (e.startsWith("https://")) {
|
||||
e = e.substr(8, e.length);
|
||||
}
|
||||
HostApp.openNewMessageWidow(null, null, "^" + e + " ");
|
||||
HostApp.openNewMessageWidow(null, null, "^" + e + " ", false);
|
||||
}
|
||||
div.appendChild(this.profile_template.mention_button);
|
||||
this.profile_template.mention_button.innerHTML = "Mention";
|
||||
|
|
|
@ -128,10 +128,10 @@ function(Core, Paths, HostApp, URI) {
|
|||
}
|
||||
}
|
||||
|
||||
Timeline.prototype.sendNewMessage = function(content, in_reply_to_status_id, in_reply_to_entity, location, image_data_uri) {
|
||||
Timeline.prototype.sendNewMessage = function(content, in_reply_to_status_id, in_reply_to_entity, location, image_data_uri, is_private) {
|
||||
var _this = this;
|
||||
var callback = function(data) { _this.getNewData(); }
|
||||
Core.prototype.sendNewMessage.call(this, content, in_reply_to_status_id, in_reply_to_entity, location, image_data_uri, callback);
|
||||
Core.prototype.sendNewMessage.call(this, content, in_reply_to_status_id, in_reply_to_entity, location, image_data_uri, is_private, callback);
|
||||
}
|
||||
|
||||
Timeline.prototype.remove = function(id) {
|
||||
|
|
Reference in a new issue