mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-10 10:12:50 +02:00
Compare commits
3 commits
e60fe93e53
...
dcb437621c
Author | SHA1 | Date | |
---|---|---|---|
|
dcb437621c | ||
|
83e3de55a4 |
||
|
609e239436 |
3 changed files with 5 additions and 5 deletions
|
@ -498,7 +498,7 @@ version = "0.4.3"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[workspace.dependencies.termimad]
|
[workspace.dependencies.termimad]
|
||||||
version = "0.31.2"
|
version = "0.34.0"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[workspace.dependencies.checked_ops]
|
[workspace.dependencies.checked_ops]
|
||||||
|
|
|
@ -38,7 +38,7 @@ sed -i 's/^offline = true$//' .cargo/config.toml
|
||||||
%cargo_build
|
%cargo_build
|
||||||
|
|
||||||
# Here's the one legally required mystery incantation in this file.
|
# Here's the one legally required mystery incantation in this file.
|
||||||
# Some of our dependencies have source files which are (for some reason) marked as excutable.
|
# Some of our dependencies have source files which are (for some reason) marked as executable.
|
||||||
# Files in .cargo/registry/ are copied into /usr/src/ by the debuginfo machinery
|
# Files in .cargo/registry/ are copied into /usr/src/ by the debuginfo machinery
|
||||||
# at the end of the build step, and then the BRP shebang mangling script checks
|
# at the end of the build step, and then the BRP shebang mangling script checks
|
||||||
# the entire buildroot to find executable files, and fails the build because
|
# the entire buildroot to find executable files, and fails the build because
|
||||||
|
@ -46,7 +46,7 @@ sed -i 's/^offline = true$//' .cargo/config.toml
|
||||||
# So we have to clear the executable bit on all of them before that happens.
|
# So we have to clear the executable bit on all of them before that happens.
|
||||||
find .cargo/registry/ -executable -name "*.rs" -exec chmod -x {} +
|
find .cargo/registry/ -executable -name "*.rs" -exec chmod -x {} +
|
||||||
|
|
||||||
# TODO: this fails currently because it's forced to run in offline mode
|
# TODO: this fails currently because it's forced to run in offline mode
|
||||||
# {cargo_license -- --no-dev} > LICENSE.dependencies
|
# {cargo_license -- --no-dev} > LICENSE.dependencies
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -77,4 +77,4 @@ install -Dpm0644 conduwuit-example.toml %{buildroot}%{_sysconfdir}/conduwuit/con
|
||||||
%systemd_postun_with_restart conduwuit.service
|
%systemd_postun_with_restart conduwuit.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
{{{ git_repo_changelog }}}
|
{{{ git_repo_changelog }}}
|
||||||
|
|
|
@ -430,7 +430,7 @@ async fn handle_left_room(
|
||||||
.ok();
|
.ok();
|
||||||
|
|
||||||
// Left before last sync
|
// Left before last sync
|
||||||
if Some(since) >= left_count {
|
if (Some(since) >= left_count && !include_leave) || Some(next_batch) < left_count {
|
||||||
return Ok(None);
|
return Ok(None);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue