mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
improve
This commit is contained in:
@@ -18,6 +18,6 @@
|
||||
}
|
||||
},
|
||||
"server": {
|
||||
"url": "http://192.168.1.6:8101"
|
||||
"url": "http://192.168.0.37:8101"
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+692
-311
File diff suppressed because it is too large
Load Diff
@@ -42,6 +42,7 @@ import { File } from '@awesome-cordova-plugins/file/ngx';
|
||||
import { FileOpener } from '@awesome-cordova-plugins/file-opener/ngx';
|
||||
import { Filesystem, Directory } from '@capacitor/filesystem';
|
||||
|
||||
|
||||
const IMAGE_DIR = 'stored-images';
|
||||
|
||||
@Component({
|
||||
@@ -1019,6 +1020,8 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
||||
this.downloadFileFromBrowser("file", str)
|
||||
this.downloadFileFromBrowser(msg.attachments[0].name, str)
|
||||
|
||||
this.downloadFileFromBrowser(msg.attachments[0].name, str)
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
@@ -1120,6 +1120,7 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe
|
||||
if (this.platform.is('desktop') || this.platform.is('mobileweb')) {
|
||||
|
||||
console.log(msg)
|
||||
|
||||
if (msg.file.type == "application/img") {
|
||||
const modal = await this.modalController.create({
|
||||
component: ViewMediaPage,
|
||||
|
||||
@@ -165,10 +165,8 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
||||
|
||||
}
|
||||
|
||||
async ngOnInit() {
|
||||
|
||||
ngOnInit() {
|
||||
this.wsChatMethodsService.getAllRooms();
|
||||
|
||||
this.chatService.refreshtoken();
|
||||
this.scrollToBottom();
|
||||
this.getChatMembers();
|
||||
|
||||
Reference in New Issue
Block a user