Fixed a circular ref in date change messages

line.buffer was the actual buffer object, which contains the injected
date
change message itself. Made this just a buffer id.
This commit is contained in:
Patrick Melanson 2016-01-04 19:58:25 -05:00
parent a50d72a3b5
commit 48cc2356a6
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ weechat.factory('handlers', ['$rootScope', '$log', 'models', 'plugins', 'notific
content += ")";
var line = {
buffer: buffer,
buffer: buffer.id,
date: new_date,
prefix: '\u001943\u2500',
tags_array: [],