Skip to content

Commit

Permalink
chore: delete todo comments migrated to github issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyg committed Oct 27, 2024
1 parent e5bc308 commit bf5c6a0
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion dnas/relay/zomes/coordinator/relay/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ pub mod contact;
pub mod message;
pub mod config;
pub mod ping;
// pub mod utils;
use hdk::prelude::*;
use relay_integrity::*;

Expand Down
2 changes: 1 addition & 1 deletion dnas/relay/zomes/coordinator/relay/src/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ pub fn get_latest_message(
}
None => original_message_hash.clone(),
};
// get(latest_message_hash, GetOptions::default())

match get(latest_message_hash, GetOptions::default())? {
Some(record) => {
Ok(Some(MessageRecord {
Expand Down
2 changes: 0 additions & 2 deletions dnas/relay/zomes/integrity/relay/src/contact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ pub fn validate_create_link_all_contacts(
.to_string())
),
)?;
// TODO: add the appropriate validation rules
Ok(ValidateCallbackResult::Valid)
}

Expand All @@ -172,6 +171,5 @@ pub fn validate_delete_link_all_contacts(
_target: AnyLinkableHash,
_tag: LinkTag,
) -> ExternResult<ValidateCallbackResult> {
// TODO: add the appropriate validation rules
Ok(ValidateCallbackResult::Valid)
}
2 changes: 0 additions & 2 deletions dnas/relay/zomes/integrity/relay/src/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ pub fn validate_create_link_all_messages(
.to_string())
),
)?;
// TODO: add the appropriate validation rules
Ok(ValidateCallbackResult::Valid)
}
pub fn validate_delete_link_all_messages(
Expand All @@ -134,6 +133,5 @@ pub fn validate_delete_link_all_messages(
_target: AnyLinkableHash,
_tag: LinkTag,
) -> ExternResult<ValidateCallbackResult> {
// TODO: add the appropriate validation rules
Ok(ValidateCallbackResult::Valid)
}
1 change: 0 additions & 1 deletion ui/src/store/ConversationStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ export class ConversationStore {
}

get title() {
// TODO: when invited contacts is stored in HC this can go back to invitedContactKeys
const numInvited = this.allMembers.length
if (this.data?.privacy === Privacy.Public) {
return this.data?.config.title
Expand Down

0 comments on commit bf5c6a0

Please sign in to comment.