Show timestamp before message
This commit is contained in:
parent
8adbcc1176
commit
07d09e9aa6
|
@ -49,7 +49,7 @@
|
|||
<a ng-click="setActiveBuffer(key)">{{ content.full_name }}</a>
|
||||
</span>
|
||||
<div ng-repeat="bufferline in activeBuffer.lines">
|
||||
|
||||
<span class="timestamp color-dark-gray">{{ bufferline.timestamp | date: 'h:mm:ss'}}</span>
|
||||
<span ng-repeat="part in bufferline.content" class="text {{ part.fg }}">
|
||||
{{ part.text }}
|
||||
</span>
|
||||
|
|
|
@ -224,7 +224,7 @@ weechat.factory('handlers', ['$rootScope', 'colors', 'pluginManager', function($
|
|||
|
||||
|
||||
var buffer = message['objects'][0]['content'][0]['buffer'];
|
||||
var timestamp = message['objects'][0]['content'][0]['date'];
|
||||
var timestamp = parseInt(message['objects'][0]['content'][0]['date']) * 1e3;
|
||||
var text = colors.parse(message['objects'][0]['content'][0]['message']);
|
||||
var content = parseLineAddedTextElements(message);
|
||||
var additionalContent = pluginManager.contentForMessage(text[0]['text']);
|
||||
|
|
Loading…
Reference in New Issue