Skip to content

Commit e8b944c

Browse files
committed
Sooner or later I'll get used to this.
1 parent e1f3c80 commit e8b944c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎src/controllers/molecules/MessageComposer.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ module.exports = {
340340
this.stopServerTypingTimer();
341341
},
342342

343-
startUserTypingTimer() {
343+
startUserTypingTimer: function() {
344344
this.stopUserTypingTimer();
345345
var self = this;
346346
this.userTypingTimer = setTimeout(function() {
@@ -350,26 +350,26 @@ module.exports = {
350350
}, TYPING_USER_TIMEOUT);
351351
},
352352

353-
stopUserTypingTimer() {
353+
stopUserTypingTimer: function() {
354354
clearTimeout(this.userTypingTimer);
355355
},
356356

357-
startServerTypingTimer() {
357+
startServerTypingTimer: function() {
358358
var self = this;
359359
this.serverTypingTimer = setTimeout(function() {
360360
self.sendTyping(self.isTyping);
361361
self.startServerTypingTimer();
362362
}, TYPING_SERVER_TIMEOUT / 2);
363363
},
364364

365-
stopServerTypingTimer() {
365+
stopServerTypingTimer: function() {
366366
if (this.serverTypingTimer) {
367367
clearTimeout(this.servrTypingTimer);
368368
this.serverTypingTimer = null;
369369
}
370370
},
371371

372-
sendTyping(isTyping) {
372+
sendTyping: function(isTyping) {
373373
MatrixClientPeg.get().sendTyping(
374374
this.props.room.roomId,
375375
this.isTyping, TYPING_SERVER_TIMEOUT

‎src/controllers/organisms/RoomView.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ module.exports = {
243243
}
244244
},
245245

246-
getWhoIsTypingString() {
246+
getWhoIsTypingString: function() {
247247
return WhoIsTyping.whoIsTypingString(this.state.room);
248248
},
249249

0 commit comments

Comments
 (0)