We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 939a3c3 commit ac7f422Copy full SHA for ac7f422
1 file changed
src/dialog/dialog.rs
@@ -469,8 +469,10 @@ impl DialogInner {
469
470
pub fn update_remote_tag(&self, tag: &str) -> Result<()> {
471
self.id.lock().unwrap().remote_tag = tag.to_string();
472
- let mut to = self.to.lock().unwrap();
473
- *to = to.clone().with_tag(tag.into());
+ if self.role == TransactionRole::Client {
+ let mut to = self.to.lock().unwrap();
474
+ *to = to.clone().with_tag(tag.into());
475
+ }
476
Ok(())
477
}
478
0 commit comments