diff --git a/src/app/pages/chat/group-messages/group-messages.page.ts b/src/app/pages/chat/group-messages/group-messages.page.ts index 88630ab5d..ea39e98c5 100644 --- a/src/app/pages/chat/group-messages/group-messages.page.ts +++ b/src/app/pages/chat/group-messages/group-messages.page.ts @@ -39,6 +39,7 @@ import { MessageService } from 'src/app/services/chat/message.service'; import { AlertController } from '@ionic/angular'; import { File } from '@awesome-cordova-plugins/file/ngx'; import { FileOpener } from '@awesome-cordova-plugins/file-opener/ngx'; +import { SessionStore } from 'src/app/store/session.service'; @Component({ selector: 'app-group-messages', @@ -89,7 +90,7 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy { duration = 0; showAvatar = true; audioPermissionStatus: 'granted'| 'denied' | 'prompt' | null = null - + essionStore = SessionStore constructor( private menu: MenuController, private modalController: ModalController, diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 5f8a0d1c3..895b94eea 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -23,10 +23,10 @@ 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/', - //apiWsChatUrl: 'wss://www.tabularium.pt/websocket', + /* 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