whatsapp_rust/store/commands.rs
1// Re-export commands from core
2pub use wacore::store::commands::*;
3
4// Wrapper function to apply commands to our platform-specific Device
5pub fn apply_command_to_device(device: &mut crate::store::Device, command: DeviceCommand) {
6 wacore::store::commands::apply_command_to_device(&mut device.core, command);
7}