urbit/talk@c83aedc Don't prepend extra ~ to audi

Selecting previous messages' audiences would result in ~~him/foo messages, which would promptly be rejected by the server.
This commit is contained in:
Anton Dyudin 2016-09-26 11:46:30 -07:00
parent 42e1d2e1cb
commit 05ceafbb2b

View File

@ -338,7 +338,7 @@ module.exports = recl({
_handleAudi: function(e) { _handleAudi: function(e) {
var audi; var audi;
audi = _.map($(e.target).closest('.path').find('div'), function(div) { audi = _.map($(e.target).closest('.path').find('div'), function(div) {
return "~" + $(div).text(); return $(div).text();
}); });
return this.props._handleAudi(audi); return this.props._handleAudi(audi);
}, },