aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Mail.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-30 15:18:33 -0700
committerzotlabs <mike@macgirvin.com>2018-03-30 15:18:33 -0700
commit43249bd4be8495dadaae859bf42f14a90af7b574 (patch)
treeedd1ea44b2be554143a4487271b41b081e2ab61b /Zotlabs/Module/Mail.php
parentf54aa4f21e63e2d0be94ee92f681ddec641da441 (diff)
downloadvolse-hubzilla-43249bd4be8495dadaae859bf42f14a90af7b574.tar.gz
volse-hubzilla-43249bd4be8495dadaae859bf42f14a90af7b574.tar.bz2
volse-hubzilla-43249bd4be8495dadaae859bf42f14a90af7b574.zip
hubzilla issue #1020 - PM using unicode domain for recipient. May require further testing
Diffstat (limited to 'Zotlabs/Module/Mail.php')
-rw-r--r--Zotlabs/Module/Mail.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Mail.php b/Zotlabs/Module/Mail.php
index b58b169d0..ca183f644 100644
--- a/Zotlabs/Module/Mail.php
+++ b/Zotlabs/Module/Mail.php
@@ -67,14 +67,14 @@ class Mail extends \Zotlabs\Web\Controller {
if(! $recipient) {
$channel = \App::get_channel();
- $j = \Zotlabs\Zot\Finger::run($rstr,$channel);
+ $j = \Zotlabs\Zot\Finger::run(punify($rstr),$channel);
if(! $j['success']) {
notice( t('Unable to lookup recipient.') . EOL);
return;
}
- logger('message_post: lookup: ' . $url . ' ' . print_r($j,true));
+ logger('message_post: lookup: ' . $rstr . ' ' . print_r($j,true));
if(! $j['guid']) {
notice( t('Unable to communicate with requested channel.'));