Remove Debug logs
This commit is contained in:
parent
bafcb8001d
commit
64f8fa38ee
|
@ -309,7 +309,6 @@ class Connection {
|
||||||
}
|
}
|
||||||
|
|
||||||
void _handleRooms(Map<String, dynamic> rooms, String membership) {
|
void _handleRooms(Map<String, dynamic> rooms, String membership) {
|
||||||
print("[DEBUG] Received ${rooms.length} $membership rooms");
|
|
||||||
rooms.forEach((String id, dynamic room) async {
|
rooms.forEach((String id, dynamic room) async {
|
||||||
// calculate the notification counts, the limitedTimeline and prevbatch
|
// calculate the notification counts, the limitedTimeline and prevbatch
|
||||||
num highlight_count = 0;
|
num highlight_count = 0;
|
||||||
|
|
|
@ -163,8 +163,6 @@ class Store {
|
||||||
"INSERT OR IGNORE INTO Rooms " +
|
"INSERT OR IGNORE INTO Rooms " +
|
||||||
"VALUES(?, ?, '', 0, 0, '', '', '', 0, '', '', '', '', '', '', '', '', 0, 50, 50, 0, 50, 50, 0, 50, 100, 50, 50, 50, 100) ",
|
"VALUES(?, ?, '', 0, 0, '', '', '', 0, '', '', '', '', '', '', '', '', 0, 50, 50, 0, 50, 50, 0, 50, 100, 50, 50, 50, 100) ",
|
||||||
[roomUpdate.id, roomUpdate.membership]);
|
[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
|
// Update the notification counts and the limited timeline boolean
|
||||||
txn.rawUpdate(
|
txn.rawUpdate(
|
||||||
|
@ -498,7 +496,6 @@ class Store {
|
||||||
(onlyGroups ? " AND rooms.direct_chat_matrix_id= '' " : "") +
|
(onlyGroups ? " AND rooms.direct_chat_matrix_id= '' " : "") +
|
||||||
" GROUP BY rooms.id " +
|
" GROUP BY rooms.id " +
|
||||||
" ORDER BY origin_server_ts DESC ");
|
" ORDER BY origin_server_ts DESC ");
|
||||||
print("[DEBUG] Found ${res.length} rooms");
|
|
||||||
List<Room> roomList = [];
|
List<Room> roomList = [];
|
||||||
for (num i = 0; i < res.length; i++) {
|
for (num i = 0; i < res.length; i++) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue