mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
save
This commit is contained in:
@@ -143,7 +143,7 @@ export class MessageService {
|
||||
|
||||
this.uploadingFile = false
|
||||
|
||||
if(uploadSuccessfully || this.hasSendAttachment == false) {
|
||||
if(uploadSuccessfully) {
|
||||
this.hasSendAttachment = true
|
||||
this.errorUploadingAttachment = false
|
||||
this.temporaryData = {}
|
||||
|
||||
@@ -367,8 +367,6 @@ export class RoomService {
|
||||
|
||||
if(this.messages[i]?._id == id ) {
|
||||
|
||||
|
||||
|
||||
console.log(_id,'==',this.messages[i]?._id, true)
|
||||
this.messages.splice(i, 1)
|
||||
|
||||
@@ -382,7 +380,7 @@ export class RoomService {
|
||||
if (SessionStore.user.RochetChatUser == this.messages[i].u.username) {
|
||||
const allMemberThatIsOffline = this.getAllMemberThatIsOffline()
|
||||
|
||||
await DeleteMessageModel.create({
|
||||
DeleteMessageModel.create({
|
||||
messageId: this.messages[i]._id,
|
||||
rid: this.messages[i].rid,
|
||||
ts: this.messages[i].ts,
|
||||
@@ -391,7 +389,7 @@ export class RoomService {
|
||||
})
|
||||
}
|
||||
|
||||
await this.messages[i].delateDB()
|
||||
this.messages[i].delateDB()
|
||||
|
||||
return true
|
||||
|
||||
|
||||
@@ -3,17 +3,31 @@
|
||||
// The list of file replacements can be found in `angular.json`.
|
||||
|
||||
export const environment = {
|
||||
|
||||
production: false,
|
||||
apiURL: 'https://gabinetedigital.dyndns.info/GabineteDigital.Services/V5/api/',
|
||||
//apiURL: 'http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V5/api/',
|
||||
apiChatUrl: 'https://gabinetedigitalchat.dyndns.info/api/v1/',
|
||||
apiWsChatUrl: 'wss://gabinetedigitalchat.dyndns.info/websocket',
|
||||
//apiChatUrl: 'https://www.tabularium.pt/api/v1/',
|
||||
/* apiChatUrl: 'http://chat.gabinetedigital.local:3000/api/v1/', */
|
||||
|
||||
//apiURL: 'https://gabinetedigital.dyndns.info/GabineteDigital.Services/V5/api/',
|
||||
|
||||
apiURL: 'http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V5/api/',
|
||||
|
||||
/* apiChatUrl: 'https://gabinetedigitalchat.dyndns.info/api/v1/',
|
||||
|
||||
apiWsChatUrl: 'wss://gabinetedigitalchat.dyndns.info/websocket', */
|
||||
|
||||
apiChatUrl: 'https://www.tabularium.pt/api/v1/',
|
||||
|
||||
apiWsChatUrl: 'wss://www.tabularium.pt/websocket',
|
||||
|
||||
//apiChatUrl: 'http://chat.gabinetedigital.local:3000/api/v1/',
|
||||
|
||||
domain: 'gabinetedigital.local', //gabinetedigital.local
|
||||
|
||||
defaultuser: 'paulo.pinto@gabinetedigital.local',//paulo.pinto paulo.pinto@gabinetedigital.local
|
||||
|
||||
defaultuserpwd: 'tabteste@006', //tabteste@006,
|
||||
|
||||
chatOffline: true
|
||||
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user