mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
- Add cordova storage plugin
- Add plugin configuration - Add storage set and get methods
This commit is contained in:
@@ -52,7 +52,7 @@ export class ChatPage implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
async starConversation(selectedUser) {
|
||||
async startConversation(selectedUser) {
|
||||
const modal = await this.modalController.create({
|
||||
component: ConversationPage,
|
||||
cssClass: 'conversation',
|
||||
|
||||
@@ -57,6 +57,7 @@ export class LoginPage implements OnInit {
|
||||
|
||||
loginRocketChat(){
|
||||
this.authService.loginChat(this.postData).subscribe((res: any) =>{
|
||||
this.storageService.store(res);
|
||||
console.log('Login to Rocket chat OK');
|
||||
},(error:any) =>{
|
||||
console.log('Network error');
|
||||
|
||||
Reference in New Issue
Block a user