Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: delete no longer relevant todo comments, commented out code #192

Merged
merged 2 commits into from
Oct 27, 2024

Conversation

mattyg
Copy link
Collaborator

@mattyg mattyg commented Oct 27, 2024

Resolves #186

@@ -357,7 +356,6 @@ export class ConversationStore {
const id = uuidv4()
const oldMessage: Message = { authorKey, content, hash: id, status: 'pending', timestamp: now, bucket, images}
this.addMessage(oldMessage)
// TODO: upload these images asynchonously and then add to the message when done
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already implemented, unless I misunderstood.

@@ -187,7 +187,6 @@ export class RelayStore {

async createContact(contact: Contact) {
if (!this.client) return false
// TODO: if adding contact fails we should remove it from the store
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Contact is only added to the store once successful;

@@ -220,7 +220,6 @@ export class ConversationStore {
}

get title() {
// TODO: when invited contacts is stored in HC this can go back to invitedContactKeys
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This I don't understand at all.

@@ -137,7 +137,7 @@ export class ConversationStore {
}

const invitation: Invitation = {
created: this.created, // TODO: put in data
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It already is in the invitation data? Or am I missing something?

@mattyg mattyg merged commit a735a87 into main Oct 27, 2024
@mattyg mattyg deleted the chore/clean-up-todos branch November 14, 2024 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review all TODOs in codebase and migrate to github issues
1 participant