Skip to content

Commit 9bc7b8f

Browse files
committed
do not allow to configure second transport with multi-device for now
1 parent 7ef60e9 commit 9bc7b8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/configure.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ impl Context {
254254
if self.get_config(Config::ShowEmails).await?.as_deref() != Some("2") {
255255
bail!("Cannot use multi-transport with disabled fetching of classic emails.");
256256
}
257+
if self.get_config_bool(Config::BccSelf).await? {
258+
bail!("Cannot use multi-transport with multi-device yet.");
259+
}
257260
}
258261

259262
let provider = configure(self, param).await?;

0 commit comments

Comments
 (0)