diff --git a/dnas/relay/zomes/coordinator/relay/src/lib.rs b/dnas/relay/zomes/coordinator/relay/src/lib.rs index 3ae6f44f..4af0f21b 100644 --- a/dnas/relay/zomes/coordinator/relay/src/lib.rs +++ b/dnas/relay/zomes/coordinator/relay/src/lib.rs @@ -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::*; diff --git a/dnas/relay/zomes/coordinator/relay/src/message.rs b/dnas/relay/zomes/coordinator/relay/src/message.rs index 275ccc62..cee4f330 100644 --- a/dnas/relay/zomes/coordinator/relay/src/message.rs +++ b/dnas/relay/zomes/coordinator/relay/src/message.rs @@ -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 { diff --git a/dnas/relay/zomes/integrity/relay/src/contact.rs b/dnas/relay/zomes/integrity/relay/src/contact.rs index 0ded7610..657c0caa 100644 --- a/dnas/relay/zomes/integrity/relay/src/contact.rs +++ b/dnas/relay/zomes/integrity/relay/src/contact.rs @@ -161,7 +161,6 @@ pub fn validate_create_link_all_contacts( .to_string()) ), )?; - // TODO: add the appropriate validation rules Ok(ValidateCallbackResult::Valid) } @@ -172,6 +171,5 @@ pub fn validate_delete_link_all_contacts( _target: AnyLinkableHash, _tag: LinkTag, ) -> ExternResult { - // TODO: add the appropriate validation rules Ok(ValidateCallbackResult::Valid) } diff --git a/dnas/relay/zomes/integrity/relay/src/message.rs b/dnas/relay/zomes/integrity/relay/src/message.rs index 5b219245..d650bbac 100644 --- a/dnas/relay/zomes/integrity/relay/src/message.rs +++ b/dnas/relay/zomes/integrity/relay/src/message.rs @@ -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( @@ -134,6 +133,5 @@ pub fn validate_delete_link_all_messages( _target: AnyLinkableHash, _tag: LinkTag, ) -> ExternResult { - // TODO: add the appropriate validation rules Ok(ValidateCallbackResult::Valid) } diff --git a/ui/src/store/ConversationStore.ts b/ui/src/store/ConversationStore.ts index 90b59bd0..4e51cb53 100644 --- a/ui/src/store/ConversationStore.ts +++ b/ui/src/store/ConversationStore.ts @@ -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