Commit 9a6c0adead
Unregistered key
Layout: unified · split
src/message/mod.rs +5 −1
| @@ -1206,7 +1206,11 @@ impl Message { | ||
| 1206 | 1206 | let receipt_thread = self.receipt_thread(info); |
| 1207 | 1207 | let threaded = info.read_event_users(receipt_thread, event_id); |
| 1208 | 1208 | let unthreaded = info.read_event_users(ReceiptThread::Unthreaded, event_id); |
| 1209 | threaded.chain(unthreaded).map(|user_id| user_id.to_owned()).collect() | |
| 1209 | threaded | |
| 1210 | .chain(unthreaded) | |
| 1211 | .filter(|user_id| **user_id != settings.profile.user_id) | |
| 1212 | .map(|user_id| user_id.to_owned()) | |
| 1213 | .collect() | |
| 1210 | 1214 | }) |
| 1211 | 1215 | .unwrap_or_default(); |
| 1212 | 1216 | |