diff --git a/pkg/interface/chat/src/js/components/lib/icons/sigil.js b/pkg/interface/chat/src/js/components/lib/icons/sigil.js index 2f3227ed0d..8bcbfd69b8 100644 --- a/pkg/interface/chat/src/js/components/lib/icons/sigil.js +++ b/pkg/interface/chat/src/js/components/lib/icons/sigil.js @@ -10,7 +10,7 @@ export class Sigil extends Component { if (props.ship.length > 14) { return ( -
+
); } else { diff --git a/pkg/interface/chat/src/js/components/lib/message.js b/pkg/interface/chat/src/js/components/lib/message.js index 75d020d6fa..6b38a09541 100644 --- a/pkg/interface/chat/src/js/components/lib/message.js +++ b/pkg/interface/chat/src/js/components/lib/message.js @@ -58,7 +58,7 @@ export class Message extends Component { if (typeof url !== 'string') { throw 'Only transmogrify strings!'; } const ship = window.ship; if (url.indexOf('arvo://') === 0) { - return `http://${ship}.arvo.network` + url.split('arvo://')[1]; + return url.split('arvo://')[1]; } return url; } @@ -66,13 +66,14 @@ export class Message extends Component { render() { const { props } = this; let pending = !!props.msg.pending ? ' o-80' : ''; - let timestamp = moment.unix(props.msg.wen / 1000).format('hh:mm a'); let datestamp = moment.unix(props.msg.wen / 1000).format('LL'); - let paddingTop = props.paddingTop ? 'pt2' : ''; + let paddingTop = props.paddingTop ? 'pt3' : ''; let paddingBot = props.paddingBot ? 'pb2' : 'pb1'; if (props.renderSigil) { + let timestamp = moment.unix(props.msg.wen / 1000).format('hh:mm a'); + return (
); } else { + let timestamp = moment.unix(props.msg.wen / 1000).format('hh:mm'); + return (