Add tooltips and actions for opening notes+call from chat

No keyboard shortcut yet.
This commit is contained in:
Max Brunsfeld 2023-09-14 18:38:37 -07:00
parent b75971196f
commit 6ce672fb32
2 changed files with 61 additions and 17 deletions

View file

@ -80,8 +80,13 @@ struct RenameChannel {
}
#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
struct OpenChannelNotes {
channel_id: u64,
pub struct OpenChannelNotes {
pub channel_id: u64,
}
#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
pub struct JoinChannelCall {
pub channel_id: u64,
}
actions!(
@ -104,7 +109,8 @@ impl_actions!(
ManageMembers,
RenameChannel,
ToggleCollapse,
OpenChannelNotes
OpenChannelNotes,
JoinChannelCall,
]
);