Skip to content

Commit 0903472

Browse files
committed
Move actor out of handler
1 parent bb5b7f4 commit 0903472

File tree

8 files changed

+1190
-1169
lines changed

8 files changed

+1190
-1169
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lukemathwalker/cargo-chef:latest-rust-1.85.1-bookworm AS chef
1+
FROM lukemathwalker/cargo-chef:latest-rust-1.86-bookworm AS chef
22
WORKDIR /app
33

44
# The generated recipe.json should only change if the dependencies changed

src/app/appstate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use super::ops::Ops;
1414
use crate::{external::FirebaseMessaging, models::errors::BuildError};
1515
use crate::{
1616
external::{Database, S3Service},
17-
gateway::handler::Gateway,
17+
gateway::Gateway,
1818
models::errors::AppError,
1919
};
2020

src/app/ops.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use crate::{
1111
Database, FirebaseMessaging, S3Service,
1212
fcm::{FCMErrorCode, FirebaseErrorKind, Notification},
1313
},
14-
gateway::handler::{ConnectionId, Gateway, SendMode},
14+
gateway::{ConnectionId, Gateway, SendMode},
1515
models::{
1616
attachment::{Attachment, AttachmentLike, FullAttachment},
1717
avatar::{Avatar, AvatarLike},
@@ -28,7 +28,7 @@ use crate::{
2828
},
2929
};
3030

31-
/// Contains all operations that affect or rely on state.
31+
/// Contains all operations that affect or rely on external state.
3232
#[derive(Builder)]
3333
#[builder(setter(into), build_fn(error = "BuildError"))]
3434
pub struct Ops<'a> {

0 commit comments

Comments
 (0)