Remove Debug logs

This commit is contained in:
Christian Pauly 2019-07-02 10:37:54 +02:00
parent bafcb8001d
commit 64f8fa38ee
2 changed files with 0 additions and 4 deletions

View file

@ -309,7 +309,6 @@ class Connection {
}
void _handleRooms(Map<String, dynamic> 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;

View file

@ -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<Room> roomList = [];
for (num i = 0; i < res.length; i++) {
try {