Skip to content

Commit

Permalink
Change logged statement
Browse files Browse the repository at this point in the history
  • Loading branch information
backspace committed Jan 20, 2025
1 parent 6bc5d98 commit 9a74a41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/runtime-common/matrix-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ export class MatrixClient {

let retentionStateKey = retentionState?.content.key ?? '';

console.log('setting retention policy', roomId, retentionStateKey);
console.log(
`setting retention policy for ${roomId}, user ${this.username}`,
);
await this.request(
`_matrix/client/v3/rooms/${roomId}/state/m.room.retention/${retentionStateKey}`,
'PUT',
Expand Down

0 comments on commit 9a74a41

Please sign in to comment.