mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 06:16:30 +03:00
cargo fmt
This commit is contained in:
committed by
Floris Bruynooghe
parent
612600278a
commit
ee18d60644
11
src/chat.rs
11
src/chat.rs
@@ -1690,10 +1690,13 @@ fn set_group_explicitly_left(context: &Context, grpid: impl AsRef<str>) -> Resul
|
||||
}
|
||||
|
||||
pub fn is_group_explicitly_left(context: &Context, grpid: impl AsRef<str>) -> Result<bool, Error> {
|
||||
context.sql.exists(
|
||||
"SELECT id FROM leftgrps WHERE grpid=?;",
|
||||
params![grpid.as_ref()],
|
||||
).map_err(Into::into)
|
||||
context
|
||||
.sql
|
||||
.exists(
|
||||
"SELECT id FROM leftgrps WHERE grpid=?;",
|
||||
params![grpid.as_ref()],
|
||||
)
|
||||
.map_err(Into::into)
|
||||
}
|
||||
|
||||
pub fn set_chat_name(
|
||||
|
||||
Reference in New Issue
Block a user