test getting last message time
This commit is contained in:
parent
d916043e07
commit
601311fcf5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user