add: connect to socket by community
direct messages/groups connect by channel id, everything else should connect by channel with the "is_channel" header set to true
This commit is contained in:
parent
c1c8cdbfcd
commit
0304461389
20 changed files with 241 additions and 160 deletions
|
@ -6,7 +6,7 @@ edition = "2024"
|
|||
[features]
|
||||
postgres = ["tetratto-core/postgres"]
|
||||
sqlite = ["tetratto-core/sqlite"]
|
||||
redis = ["tetratto-core/redis"]
|
||||
redis = ["tetratto-core/redis", "dep:redis"]
|
||||
default = ["sqlite", "redis"]
|
||||
|
||||
[dependencies]
|
||||
|
@ -34,4 +34,5 @@ mime_guess = "2.0.5"
|
|||
cf-turnstile = "0.2.0"
|
||||
contrasted = "0.1.2"
|
||||
futures-util = "0.3.31"
|
||||
crossbeam = { version = "0.8.4", features = ["crossbeam-channel"] }
|
||||
|
||||
redis = { version = "0.30.0", optional = true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue