move presence up two levels out of rooms.edus and rooms.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
9790477b0e
commit
0ba8d1318d
15 changed files with 13 additions and 41 deletions
|
@ -173,8 +173,6 @@ async fn sync_helper(
|
|||
// Presence update
|
||||
if services().globals.allow_local_presence() {
|
||||
services()
|
||||
.rooms
|
||||
.edus
|
||||
.presence
|
||||
.ping_presence(&sender_user, body.set_presence)?;
|
||||
}
|
||||
|
@ -531,8 +529,6 @@ async fn process_room_presence_updates(
|
|||
) -> Result<()> {
|
||||
// Take presence updates from this room
|
||||
for (user_id, _, presence_event) in services()
|
||||
.rooms
|
||||
.edus
|
||||
.presence
|
||||
.presence_since(room_id, since)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue