Various pre-release fixes #5

Merged
raucao merged 5 commits from dev/prerelease_fixes into master 2021-09-13 11:43:27 +00:00
Showing only changes of commit 0b517400b1 - Show all commits

View File

@ -360,7 +360,7 @@ const ChatMessages = function (privateClient, publicClient) {
* @private
*/
_updateDocument (archive, messages) {
console.debug('[chat-messages] Updating archive document', archive);
console.debug('[chat-messages] Updating archive document');
if (Array.isArray(messages)) {
messages.forEach(function(message) {
@ -545,7 +545,7 @@ const ChatMessages = function (privateClient, publicClient) {
* @private
*/
_sync (obj) {
console.debug('[chat-messages] Writing archive object', obj);
console.debug(`[chat-messages] Writing archive object with ${obj.today.messages.length} messages`);
return this.client.storeObject('daily-archive', this.path, obj).then(function(){
console.debug('[chat-messages] Archive written to remote storage');