|
|
@ -101,6 +101,10 @@ export class ChatModel implements Subject { |
|
|
|
else { |
|
|
|
log.error('Messages were null'); |
|
|
|
} |
|
|
|
if(this._messagePageMap.get(contactName) == 0) |
|
|
|
{ |
|
|
|
log.info(cVMs[cVMs.length - 1].messageTime) |
|
|
|
} |
|
|
|
if (cVMs.length != 0) { |
|
|
|
// log.debug('page number before = ' + this._messagePageMap.get(contactName)!)
|
|
|
|
this._messagePageMap.set(contactName, this._messagePageMap.get(contactName)! + 1); |
|
|
|