(
&self,
_vars: &HashMap<String, String>,
pl: &integration::JoinEvent,
)
| 105 | } |
| 106 | |
| 107 | async fn join_event( |
| 108 | &self, |
| 109 | _vars: &HashMap<String, String>, |
| 110 | pl: &integration::JoinEvent, |
| 111 | ) -> Result<()> { |
| 112 | let b = match self.json { |
| 113 | true => serde_json::to_vec(&pl)?, |
| 114 | false => pl.encode_to_vec(), |
| 115 | }; |
| 116 | |
| 117 | self.post_event("join", b).await |
| 118 | } |
| 119 | |
| 120 | async fn ack_event( |
| 121 | &self, |