mini fixes

master
bqv 2 years ago
parent 9dd1637196
commit d9c8536fb4
No known key found for this signature in database
GPG Key ID: 9E2FF3BDEBDFC910

@ -150,7 +150,7 @@ bool weechat::account::search_device(weechat::account::device* out, std::uint32_
} }
(void) out; (void) out;
return NULL; return false;
} }
void weechat::account::add_device(weechat::account::device *device) void weechat::account::add_device(weechat::account::device *device)

@ -249,7 +249,7 @@ weechat::channel::channel(weechat::account& account,
struct tm *ago = gmtime(&start); struct tm *ago = gmtime(&start);
ago->tm_mday -= 7; ago->tm_mday -= 7;
start = mktime(ago); start = mktime(ago);
fetch_mam(nullptr, &start, nullptr, nullptr); fetch_mam(id, &start, nullptr, nullptr);
} }
} }

Loading…
Cancel
Save