mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
merge
This commit is contained in:
@@ -12,6 +12,8 @@ import { NativeNotificationService } from 'src/app/services/native-notification.
|
||||
import { SessionStore } from 'src/app/store/session.service';
|
||||
import { capitalizeTxt } from 'src/plugin/text'
|
||||
import { SortService } from '../functions/sort.service';
|
||||
import { chatUser } from 'src/app/models/chatMethod';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
@@ -40,6 +42,9 @@ export class RoomService {
|
||||
mgsArray = [];
|
||||
|
||||
scrollDown = () => { }
|
||||
getAllUsers = (): chatUser[] => {
|
||||
return []
|
||||
}
|
||||
|
||||
constructor(
|
||||
public WsChatService: WsChatService,
|
||||
@@ -198,6 +203,19 @@ export class RoomService {
|
||||
}, 3000)
|
||||
}
|
||||
|
||||
private setTypingOff() {
|
||||
this.typing('')
|
||||
}
|
||||
|
||||
roomLeave() {
|
||||
this.setTypingOff()
|
||||
}
|
||||
|
||||
open() {
|
||||
// this.typing(this.message)
|
||||
}
|
||||
|
||||
|
||||
leave(rid?) {
|
||||
this.WsChatService.leaveRoom(this.id)
|
||||
}
|
||||
@@ -437,7 +455,7 @@ export class RoomService {
|
||||
console.log('FIX UPDATE ', message.result)
|
||||
message.result._updatedAt = message.result._updatedAt['$date']
|
||||
} else {
|
||||
console.log('FIX UPDATE 11', message)
|
||||
// console.log('FIX UPDATE 11', message)
|
||||
message._updatedAt = message._updatedAt['$date']
|
||||
}
|
||||
return message
|
||||
|
||||
Reference in New Issue
Block a user