Skip to main content

get_guestbook

Function get_guestbook 

Source
pub fn get_guestbook(
    community_id: &str,
) -> Result<(Vec<GuestbookEvent>, u64), String>
Expand description

Load a community’s persisted Guestbook: the raw membership events + the newest-seen cursor (relay seconds). ([], 0) when never synced; unparseable stored JSON degrades the same way (the next sync re-seeds from zero).