fix bug with new buffers and notify level

This commit is contained in:
Tor Hveem 2013-10-18 15:58:26 +02:00
parent 7c0192ea75
commit 33ee9bd951

View file

@ -16,13 +16,18 @@ models.service('models', ['$rootScope', 'colors', function($rootScope, colors) {
var number = message['number']
var pointer = message['pointers'][0]
var local_variables = message['local_vars'];
var notify = message['notify'];
var notify = 1; // Default 1
var lines = []
var active = false
var notification = 0
var unread = 0
var lastSeen = -2
// Buffer opened message does not include notify level
if( message['notify'] ) {
notify = message['notify'];
}
/*
* Adds a line to this buffer
*