Skip to content

Commit

Permalink
Include array, #269
Browse files Browse the repository at this point in the history
  • Loading branch information
bepaald committed Dec 31, 2024
1 parent 68c5314 commit 38c10db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autoversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
#ifndef VERSION_H_
#define VERSION_H_

#define VERSIONDATE "20241230.132627"
#define VERSIONDATE "20241231.223920"

#endif
3 changes: 2 additions & 1 deletion signalbackup/htmlwritecalllog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ void SignalBackup::HTMLwriteCallLog(std::vector<long long int> const &threads, s
if (!d_database.exec("SELECT "
//"_id, "
"message_id, peer, type, direction, event, "
+ (d_database.tableContainsColumn("call", "timestamp") ? "timestamp" :
+ (d_database.tableContainsColumn("call", "timestamp") ?
"timestamp" :
"(SELECT " + d_mms_date_sent + " FROM " + d_mms_table + " WHERE " + d_mms_table + "._id = call.message_id)") + " AS timestamp "
//", ringer, deletion_timestamp, "
//"datetime((timestamp / 1000), 'unixepoch', 'localtime') "
Expand Down
1 change: 1 addition & 0 deletions signalbackup/signalbackup.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#include <string>
#include <algorithm>
#include <regex>
#include <array>

struct HTMLMessageInfo;
struct Range;
Expand Down

0 comments on commit 38c10db

Please sign in to comment.