jersey/lightning
5
40
Fork
You've already forked lightning
11

chat history imports #192

Open
opened 2026年04月26日 09:57:40 +02:00 by core441 · 1 comment

Add a command to retroactively bridge all previously sent content in a channel, effectively re-constructing a server's history on the source platform. This would make migrating to other platforms a breeze for users, further advancing the proliferation of privacy-respecting, user-respecting, and (in some cases) federated social platforms.

Add a command to retroactively bridge all previously sent content in a channel, effectively re-constructing a server's history on the source platform. This would make migrating to other platforms a breeze for users, further advancing the proliferation of privacy-respecting, user-respecting, and (in some cases) federated social platforms.
core441 changed title from (削除) Add a retroactive 'sync'command (削除ここまで) to Add a retroactive 'sync' command 2026年04月26日 09:59:37 +02:00
jersey added this to the future milestone 2026年04月27日 00:52:54 +02:00

Giving my feedback on this, I would say this command should A) have a set limit of how far back it can go and B) make it a admin (bot owner) only command.

Reasons for A):
This would obviously create a ton of new data to store in the bots database, not to mention create a possibly huge number of requests on the other platform(s), which can cause delays (if rate limits are properly handled) or in worst case even (temporary) bans from the API.
So limiting it to a certain amount - either based on a timeframe like "last 2 weeks" or a message count itself - could avoid these problems.

Reasons for B):
For self-hosted bots may this not be a major issue, but for publicly hosted ones like Bolt could this be a problematic situation where someone executes the command and causes the issues pointed out above. slowing down the bot. or even getting it blocked (temporarely).
So some safety mechanic should be made here.

Giving my feedback on this, I would say this command should A) have a set limit of how far back it can go and B) make it a admin (bot owner) only command. Reasons for A): This would obviously create a ton of new data to store in the bots database, not to mention create a possibly huge number of requests on the other platform(s), which can cause delays (if rate limits are properly handled) or in worst case even (temporary) bans from the API. So limiting it to a certain amount - either based on a timeframe like "last 2 weeks" or a message count itself - could avoid these problems. Reasons for B): For self-hosted bots may this not be a major issue, but for publicly hosted ones like Bolt could this be a problematic situation where someone executes the command and causes the issues pointed out above. slowing down the bot. or even getting it blocked (temporarely). So some safety mechanic should be made here.
jersey changed title from (削除) Add a retroactive 'sync' command (削除ここまで) to chat history imports 2026年06月21日 15:45:58 +02:00
Sign in to join this conversation.
No Branch/Tag specified
develop
irc-debug-logging
fluxer-webhooks
mautrix-fork
pluralkit
xmpp
v0.8.9
v0.8.8
v0.8.7
v0.8.6
v0.8.5
v0.8.4
v0.8.3
v0.8.2
v0.8.1
v0.8.0
v0.8.0-rc.12
v0.8.0-rc.11
v0.8.0-rc.10
v0.8.0-rc.9
v0.8.0-rc.8
v0.8.0-rc.7
v0.8.0-rc.6
v0.8.0-rc.5
v0.8.0-rc.4
v0.8.0-rc.3
v0.8.0-rc.2
v0.8.0-rc.1
v0.8.0-beta.13
v0.8.0-beta.12
v0.8.0-beta.11
v0.8.0-beta.10
v0.8.0-beta.9
v0.8.0-beta.8
v0.8.0-beta.7
v0.8.0-beta.6
v0.8.0-beta.5
v0.8.0-beta.4
v0.8.0-beta.3
v0.8.0-beta.2
v0.8.0-beta.1
v0.8.0-alpha.13
v0.8.0-alpha.12
v0.8.0-alpha.11
0.8.0-alpha.10
0.8.0-alpha.9
0.8.0-alpha.8
0.8.0-alpha.7
0.8.0-alpha.6
0.8.0-alpha.5
0.8.0-alpha.4
0.8.0-alpha.3
0.8.0-alpha.2
0.8.0-alpha.1
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.2a
0.6.2
0.6.1
0.6.0
0.5.8
0.5.7
0.5.6
0.5.5
0.4.13
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
Labels
Clear labels
scope
bolt
anything specific to the hosted product offered as bolt
scope
bridge
anything specific to the bridge application itself
scope
core
anything affecting the main framework
scope
discord
anything specific to the discord plugin
scope
epic
something which requires a large set of changes (new platforms, new types of things to bridge, etc.)
scope
irc
scope
matrix
anything specific to the matrix plugin
scope
osmium
scope
stoat
anything specific to the stoat plugin
scope
telegran
anything specific to the telegram plugin
status
blocked
this is blocked due to something else
status
deferred
status
question
further information is requested or a reproduction is needed
type
breaking
this would change something in a public api
type
bug
Something isn't working
type
build
the docker images and related scripts i think
type
dependencies
dependency-related things
type
documentation
Improvements or additions to documentation
type
enhancement
New feature or request
type
regression
a bug introduced by an update
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jersey/lightning#192
Reference in a new issue
jersey/lightning
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?