diff --git a/src/app/pages/gabinete-digital/gabinete-digital.page.ts b/src/app/pages/gabinete-digital/gabinete-digital.page.ts
index fa90ee7a4..5634ab2ec 100644
--- a/src/app/pages/gabinete-digital/gabinete-digital.page.ts
+++ b/src/app/pages/gabinete-digital/gabinete-digital.page.ts
@@ -128,7 +128,6 @@ export class GabineteDigitalPage implements OnInit, DoCheck {
private activatedRoute: ActivatedRoute,
private router: Router,
authService: AuthService,
- public p: PermissionService,
public waitForDomService: WaitForDomService,
//private notificationsService: NotificationsService,
private despachoRule: DespachoService,
@@ -139,7 +138,8 @@ export class GabineteDigitalPage implements OnInit, DoCheck {
public ThemeService: ThemeService,
private sortService: SortService,
private dataService: DataService,
- private storage: Storage
+ private storage: Storage,
+ public p: PermissionService,
) {
this.loggeduser = authService.ValidatedUser;
diff --git a/src/app/shared/chat/group-messages/group-messages.page.ts b/src/app/shared/chat/group-messages/group-messages.page.ts
index 829ce53d3..46f3658e9 100644
--- a/src/app/shared/chat/group-messages/group-messages.page.ts
+++ b/src/app/shared/chat/group-messages/group-messages.page.ts
@@ -152,9 +152,6 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe
}
ngOnInit() {
- console.log(this.roomId);
- this.loggedUser = this.loggedUserChat;
-
this.loggedUser=this.loggedUserChat;
setTimeout(() => {
this.getRoomInfo();
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index 3fa4b4df2..c54548512 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -5,11 +5,12 @@
export const environment = {
production: false,
//apiURL: 'https://gabinetedigital.dyndns.info/GabineteDigital.Services/V5/api/',
+ apiChatUrl: 'https://gabinetedigitalchat.dyndns.info/api/v1/',
+ apiWsChatUrl: 'wss://gabinetedigitalchat.dyndns.info/websocket',
+
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://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