mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
improve chat
This commit is contained in:
@@ -202,6 +202,19 @@ export class RoomService {
|
||||
|
||||
}
|
||||
|
||||
get online() {
|
||||
|
||||
if(!this.isGroup) {
|
||||
for(let user of this.ChatSystemService.users) {
|
||||
if(this.membersExcludeMe[0]._id == user._id) {
|
||||
return user.status
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return 'offline'
|
||||
}
|
||||
|
||||
countDownDate(date) {
|
||||
let difference = new Date(date).getTime() - new Date().getTime();
|
||||
let c_day = Math.floor(difference/(1000*60*60*24));
|
||||
|
||||
Reference in New Issue
Block a user