fix bug with new buffers and notify level
This commit is contained in:
parent
7c0192ea75
commit
33ee9bd951
1 changed files with 6 additions and 1 deletions
|
@ -16,13 +16,18 @@ models.service('models', ['$rootScope', 'colors', function($rootScope, colors) {
|
||||||
var number = message['number']
|
var number = message['number']
|
||||||
var pointer = message['pointers'][0]
|
var pointer = message['pointers'][0]
|
||||||
var local_variables = message['local_vars'];
|
var local_variables = message['local_vars'];
|
||||||
var notify = message['notify'];
|
var notify = 1; // Default 1
|
||||||
var lines = []
|
var lines = []
|
||||||
var active = false
|
var active = false
|
||||||
var notification = 0
|
var notification = 0
|
||||||
var unread = 0
|
var unread = 0
|
||||||
var lastSeen = -2
|
var lastSeen = -2
|
||||||
|
|
||||||
|
// Buffer opened message does not include notify level
|
||||||
|
if( message['notify'] ) {
|
||||||
|
notify = message['notify'];
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a line to this buffer
|
* Adds a line to this buffer
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue