aboutsummaryrefslogtreecommitdiff
path: root/src/categories.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2021-03-08 16:39:01 +0100
committerDaniel Schadt <kingdread@gmx.de>2021-03-08 16:39:01 +0100
commit4918d362600da542131b6e7cf8df4c2015f0cb6e (patch)
tree52f640abf93d6a66cdd75a3bca4778325d644cf2 /src/categories.rs
parentdb7d22966b89c62e236eae559fca1d4e840897e3 (diff)
downloadezau-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/categories.rs')
0 files changed, 0 insertions, 0 deletions