rename files

This commit is contained in:
Peter Maquiran
2022-09-30 15:13:36 +01:00
parent 64ad7bbc7f
commit 12cf5831a8
36 changed files with 256 additions and 315 deletions
+6 -6
View File
@@ -4,7 +4,7 @@ import { Storage } from '@ionic/storage';
import { SessionStore } from 'src/app/store/session.service';
import { capitalizeTxt } from 'src/plugin/text'
import { NfService } from 'src/app/services/chat/nf.service'
import { WsChatService } from 'src/app/services/chat/ws-chat.service';
import { RochetChatConnectorService } from 'src/app/services/chat/rochet-chat-connector.service';
import { showDateDuration } from 'src/plugin/showDateDuration';
import { ChatStorageService } from './chat-storage.service'
import { ChatMethodsService } from './chat-methods.service'
@@ -64,7 +64,7 @@ export class MessageService {
constructor(private storage: Storage,
private NfService: NfService,
private WsChatService: WsChatService,
private RochetChatConnectorService: RochetChatConnectorService,
private ChatStorageService: ChatStorageService,
private ChatMethodsService: ChatMethodsService,
private AESEncrypt: AESEncrypt,
@@ -166,9 +166,9 @@ export class MessageService {
const params = {roomId:this.rid, msg: this.msg, attachments: this.attachments, file: this.file, localReference: this.localReference}
await this.sendRequest(params)
} else if(this.WsChatService.isLogin == false) {
} else if(this.RochetChatConnectorService.isLogin == false) {
this.WsChatService.registerCallback({
this.RochetChatConnectorService.registerCallback({
type: 'reConnect',
funx: async ()=> {
this.send()
@@ -203,7 +203,7 @@ export class MessageService {
if(this.NetworkServiceService.getCurrentNetworkStatus() == ConnectionStatus.Online) {
console.log('online send')
this.WsChatService.send(params).then(
this.RochetChatConnectorService.send(params).then(
(ChatMessage: any) => {
console.log('response')
ChatMessage = ChatMessage.message.result
@@ -215,7 +215,7 @@ export class MessageService {
} else {
console.log("reconnect")
this.WsChatService.registerCallback({
this.RochetChatConnectorService.registerCallback({
type: 'reConnect',
funx: async ()=> {