Skip to content

Commit 1c99829

Browse files
committed
Ignore 'guest_devices' in synapse
1 parent 89416c8 commit 1c99829

File tree

1 file changed

+1
-1
lines changed
  • crates/syn2mas/src/synapse_reader

1 file changed

+1
-1
lines changed

crates/syn2mas/src/synapse_reader/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ impl<'conn> SynapseReader<'conn> {
416416
SELECT
417417
user_id, device_id, display_name, last_seen, ip, user_agent
418418
FROM devices
419-
WHERE NOT hidden
419+
WHERE NOT hidden AND device_id != 'guest_device'
420420
",
421421
)
422422
.fetch(&mut *self.txn)

0 commit comments

Comments
 (0)