Skip to content

Commit

Permalink
'#1889: Remove unused parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
wladimirleite committed Sep 21, 2023
1 parent dd98cbf commit c41132c
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,7 @@ protected List<Chat> extractChatList() throws WAExtractorException {
extractMessages(conn, idToChat, firstTry, true);

for (Chat c : list) {
extractMessages(conn, c, undeletedMessages, messagesUndeletedTable, mediaItems,
groupMembers, firstTry);
extractMessages(c, undeletedMessages, messagesUndeletedTable, mediaItems, groupMembers, firstTry);
if (c.isGroupChat()) {
try {
setGroupMembers(c, conn, SELECT_GROUP_MEMBERS);
Expand Down Expand Up @@ -283,10 +282,9 @@ private void extractMessages(Connection conn, Map<Long, Chat> idToChat, boolean
}
}

private void extractMessages(Connection conn, Chat chat, Map<Long, List<SqliteRow>> undeletedMessages,
private void extractMessages(Chat chat, Map<Long, List<SqliteRow>> undeletedMessages,
SQLiteUndeleteTable undeleteTable, Map<Long, SqliteRow> mediaItems, Map<Long, SqliteRow> groupMembers,
boolean firstTry)
throws SQLException {
boolean firstTry) throws SQLException {

if (undeleteTable != null && !undeletedMessages.isEmpty()) {
Set<MessageWrapperForDuplicateRemoval> activeMessages = new HashSet<>();
Expand Down

0 comments on commit c41132c

Please sign in to comment.