From 64f8fa38ee489249a2a7e167b04701feaa3ce73f Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Tue, 2 Jul 2019 10:37:54 +0200 Subject: [PATCH] Remove Debug logs --- lib/src/Connection.dart | 1 - lib/src/Store.dart | 3 --- 2 files changed, 4 deletions(-) diff --git a/lib/src/Connection.dart b/lib/src/Connection.dart index 9b5fd3b7..bf9e1095 100644 --- a/lib/src/Connection.dart +++ b/lib/src/Connection.dart @@ -309,7 +309,6 @@ class Connection { } void _handleRooms(Map rooms, String membership) { - print("[DEBUG] Received ${rooms.length} $membership rooms"); rooms.forEach((String id, dynamic room) async { // calculate the notification counts, the limitedTimeline and prevbatch num highlight_count = 0; diff --git a/lib/src/Store.dart b/lib/src/Store.dart index 587b328a..d66f0478 100644 --- a/lib/src/Store.dart +++ b/lib/src/Store.dart @@ -163,8 +163,6 @@ class Store { "INSERT OR IGNORE INTO Rooms " + "VALUES(?, ?, '', 0, 0, '', '', '', 0, '', '', '', '', '', '', '', '', 0, 50, 50, 0, 50, 50, 0, 50, 100, 50, 50, 50, 100) ", [roomUpdate.id, roomUpdate.membership]); - if (roomUpdate.membership == "leave") - print("[DEBUG] Room with Membership 'leave' added to Database!"); // Update the notification counts and the limited timeline boolean txn.rawUpdate( @@ -498,7 +496,6 @@ class Store { (onlyGroups ? " AND rooms.direct_chat_matrix_id= '' " : "") + " GROUP BY rooms.id " + " ORDER BY origin_server_ts DESC "); - print("[DEBUG] Found ${res.length} rooms"); List roomList = []; for (num i = 0; i < res.length; i++) { try {