Render chat messages in ChatPanel

This commit is contained in:
Antonio Scandurra
2021-08-24 12:23:50 +02:00
parent baded7d416
commit 405ff1d9db
4 changed files with 155 additions and 36 deletions
+1 -1
View File
@@ -1520,7 +1520,7 @@ mod tests {
fn channel_messages(channel: &Channel) -> Vec<(u64, String)> {
channel
.messages()
.iter()
.cursor::<(), ()>()
.map(|m| (m.sender_id, m.body.clone()))
.collect()
}