Skip to content

Commit 850e59f

Browse files
PIG208gnprice
authored andcommitted
typing_status [nfc]: Remove debugLog for adding self as typist.
This is not prohibited by the server and we should not log expected behaviors like this. See: https://zulip.com/api/get-events#typing-start Signed-off-by: Zixuan James Li <[email protected]>
1 parent d764cea commit 850e59f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/model/typing_status.dart

-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import 'dart:async';
33
import 'package:flutter/foundation.dart';
44

55
import '../api/model/events.dart';
6-
import '../log.dart';
76
import 'narrow.dart';
87

98
/// The model for tracking the typing status organized by narrows.
@@ -40,7 +39,6 @@ class TypingStatus extends ChangeNotifier {
4039

4140
bool _addTypist(SendableNarrow narrow, int typistUserId) {
4241
if (typistUserId == selfUserId) {
43-
assert(debugLog('typing status: adding self as typist'));
4442
return false;
4543
}
4644
final narrowTimerMap = _timerMapsByNarrow[narrow] ??= {};

0 commit comments

Comments
 (0)