Browse Source

Revert the last changes in _post_card.tpl

pull/436/head
Timothée Jaussoin 8 years ago
parent
commit
149cd495f1
  1. 2
      app/widgets/Post/_post_card.tpl
  2. 2
      linker.php

2
app/widgets/Post/_post_card.tpl

@ -163,6 +163,7 @@
{if="isset($attachments.links)"}
{loop="$attachments.links"}
{if="!empty($value.title)"}
<ul class="list">
<li>
<span class="primary icon gray">
@ -188,6 +189,7 @@
{/if}
</li>
</ul>
{/if}
{/loop}
{/if}

2
linker.php

@ -147,7 +147,7 @@ $stdin_behaviour = function ($data) use (&$conn, $loop, &$buffer, &$connector, &
if(isset($dns->target) && $dns->target != null) $msg->host = $dns->target;
if(isset($dns->port) && $dns->port != null) $port = $dns->port;
#fwrite(STDERR, colorize('open a socket to '.$domain, 'yellow')." : ".colorize('sent to XMPP', 'green')."\n");
//$port = 5223;
$ip = \Moxl\Utils::resolveIp($msg->host);
$ip = (!$ip || !isset($ip->address)) ? gethostbyname($msg->host) : $ip->address;

Loading…
Cancel
Save