[fractal/af/debug-favorites] donotmerge: inspect direct message events
- From: Alexandre Franke <afranke src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/af/debug-favorites] donotmerge: inspect direct message events
- Date: Fri, 4 Dec 2020 11:37:14 +0000 (UTC)
commit 01685fc7b73f0aec7a9eeee3931fa1426951734c
Author: Alexandre Franke <afranke gnome org>
Date: Fri Dec 4 12:36:59 2020 +0100
donotmerge: inspect direct message events
fractal-gtk/src/model/room.rs | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/fractal-gtk/src/model/room.rs b/fractal-gtk/src/model/room.rs
index 4274dcbf..6d49b9d3 100644
--- a/fractal-gtk/src/model/room.rs
+++ b/fractal-gtk/src/model/room.rs
@@ -165,6 +165,9 @@ impl Room {
// getting the list of direct rooms
let direct: HashSet<RoomId> = response.account_data.events
.iter()
+ .inspect(|ev| {
+ dbg!(ev);
+ })
.cloned()
// Synapse sometimes sends an object with the key "[object Object]"
// instead of a user ID. Since we don't need the key, we use our own
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]