Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

Commit 2306c20

Browse files
committed
lp fixbug
1 parent b3f582a commit 2306c20

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

src/connection/lp-connection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class LPConnection extends Connection {
9898
}
9999
}).bind(this);
100100

101-
poller.open('GET', this.LP_URL, true);
101+
poller.open('GET', url, true);
102102
return poller;
103103
}
104104

src/connection/models/connection-options.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { Transport } from './transport';
2+
13
/**
24
* Information needed to create an instance of connection
35
*/

src/connection/models/connection.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
import { ConnectionOptions, BackoffSettings, AutoReconnectData, OnDisconnetData, Transport } from './connection-options';
2-
import { log, NetworkProviders } from '../utilities';
1+
import { AutoReconnectData, OnDisconnetData } from './event-types';
2+
import { ConnectionOptions } from './connection-options';
3+
import { log, NetworkProviders } from '../../utilities';
4+
import { BackoffSettings } from './backoff-settings';
5+
import { Transport } from './transport';
36
import { Subject } from 'rxjs';
47

58
/**

src/tinode.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import {
2525
LeavePacketData,
2626
LoginPacketData,
2727
} from './models/packet-data';
28-
import { Drafty } from './drafty';
2928
import { Topic } from './topic/topic';
3029
import { TopicMe } from './topic/topic-me';
3130
import { TopicFnd } from './topic/topic-fnd';

0 commit comments

Comments
 (0)