Lint
This commit is contained in:
parent
2b172b359e
commit
49215cc4bd
|
@ -176,6 +176,7 @@ export default class Socket extends EventEmitter {
|
|||
const cancel = this.ddp.once('disconnected', reject);
|
||||
this.ddp.once(id, (data) => {
|
||||
// console.log(data);
|
||||
this.lastping = new Date();
|
||||
this.ddp.removeListener(id, cancel);
|
||||
return (data.error ? reject(data.error) : resolve({ id, ...data }));
|
||||
});
|
||||
|
|
|
@ -185,7 +185,7 @@ export default class RoomInfoView extends LoggedView {
|
|||
<ScrollView style={styles.container}>
|
||||
<View style={styles.avatarContainer}>
|
||||
{this.renderAvatar(room, roomUser)}
|
||||
<Text style={styles.roomTitle}>{ this.getRoomTitle(room) }</Text>
|
||||
<Text style={styles.roomTitle}>{ getRoomTitle(room) }</Text>
|
||||
</View>
|
||||
{!this.isDirect() && this.renderItem('description', room)}
|
||||
{!this.isDirect() && this.renderItem('topic', room)}
|
||||
|
|
Loading…
Reference in New Issue