|
@@ -41,7 +41,7 @@ export class ChannelPage {
|
41
|
41
|
private channelProvider: ChannelProvider,
|
42
|
42
|
) {
|
43
|
43
|
this.getMessages();
|
44
|
|
- this.getChannels();
|
|
44
|
+ //this.getChannels();
|
45
|
45
|
}
|
46
|
46
|
|
47
|
47
|
ionViewDidLoad() {
|
|
@@ -60,11 +60,11 @@ export class ChannelPage {
|
60
|
60
|
});
|
61
|
61
|
}
|
62
|
62
|
|
63
|
|
- getChannels(){
|
64
|
|
- this.timerToken = setInterval(this.channelProvider.get(channels => {
|
65
|
|
- this.channels = channels;
|
66
|
|
- }), 5000);
|
67
|
|
- }
|
|
63
|
+ // getChannels(){
|
|
64
|
+ // this.timerToken = setInterval(this.channelProvider.get(channels => {
|
|
65
|
+ // this.channels = channels;
|
|
66
|
+ // }), 5000);
|
|
67
|
+ // }
|
68
|
68
|
|
69
|
69
|
runningLoopOfMessages(channelProvider: ChannelProvider) {
|
70
|
70
|
this.messageProvider.get(1, after => {
|