basic support for exclusion tags - we just need to use the results to tweak the ACL.

This commit is contained in:
friendica
2013-12-29 16:12:39 -08:00
parent f36be066af
commit c03c0724ed
2 changed files with 69 additions and 92 deletions

View File

@@ -151,7 +151,7 @@ ACPopup.prototype.onkey = function(event){
}
function ContactAutocomplete(element,backend_url){
this.pattern=/@([^ \n]+)$/;
this.pattern=/@(\!*)([^ \n]+)$/;
this.popup=null;
var that = this;
@@ -170,7 +170,7 @@ function ContactAutocomplete(element,backend_url){
if (that.popup===null){
that.popup = new ACPopup(this, backend_url);
}
if (that.popup.ready && match[1]!==that.popup.searchText) that.popup.search(match[1]);
if (that.popup.ready && match[2]!==that.popup.searchText) that.popup.search(match[2]);
if (!that.popup.ready) that.popup=null;
} else {