diff options
author | Daniel Schadt <kingdread@gmx.de> | 2021-03-08 16:39:01 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2021-03-08 16:39:01 +0100 |
commit | 4918d362600da542131b6e7cf8df4c2015f0cb6e (patch) | |
tree | 52f640abf93d6a66cdd75a3bca4778325d644cf2 /src/main.rs | |
parent | db7d22966b89c62e236eae559fca1d4e840897e3 (diff) | |
download | ezau-4918d362600da542131b6e7cf8df4c2015f0cb6e.tar.gz ezau-4918d362600da542131b6e7cf8df4c2015f0cb6e.tar.bz2 ezau-4918d362600da542131b6e7cf8df4c2015f0cb6e.zip |
matrix: try better to find the last message
In matrix, every edit count is also sent as a room message, so are
joins, leaves, ... which makes 10 (the default) a pretty low number of
previous messages to check for. In comparison, the discord integration
checks the last 25 messages to find the correct one.
This patch increases the limit to 60 messages, loaded in 3 chunks a 20
messages each. This should ensure that even for more edited channels,
the message is found in more cases.
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions