Skip to content

Commit

Permalink
feat: Add RoomSyncStatus import and sync_status initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Dec 25, 2024
1 parent 82d64a1 commit f77c44a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/components/app/freenet_api.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use std::collections::HashSet;
use futures::StreamExt;
use common::room_state::ChatRoomParametersV1;
use dioxus::prelude::{Global, GlobalSignal, UnboundedSender, use_coroutine, use_context, Signal, Writable, use_effect, Readable};
use dioxus::prelude::{Global, GlobalSignal, UnboundedSender, use_coroutine, use_context, Signal, Writable, use_effect};
use crate::room_data::RoomSyncStatus;
use freenet_scaffold::ComposableState;
use ed25519_dalek::VerifyingKey;
use freenet_stdlib::{
Expand Down
1 change: 1 addition & 0 deletions ui/src/example_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ fn create_room(room_name: &String, self_is: SelfIs) -> CreatedRoom {
self_sk: self_sk.clone(),
owner_vk: owner_vk.clone(),
contract_key,
sync_status: RoomSyncStatus::Unsubscribed,
},
}
}
Expand Down

0 comments on commit f77c44a

Please sign in to comment.