Commit graph

854 commits

Author SHA1 Message Date
Tulir Asokan
ccfd7819c3 Don't ignore errors when getting DB schema version
It probably never errors because connection errors would break the
create table call, but this way is safer.
2022-01-07 16:45:20 +02:00
Tulir Asokan
7f636e6aef Update whatsmeow to read group disappearing message timer 2022-01-07 15:05:09 +02:00
Tulir Asokan
a61a3f5cf9 Only create goroutines for next hour of disappearing messages 2022-01-07 14:46:53 +02:00
Tulir Asokan
3d457d005e Pass event ID into CommandEvents 2022-01-07 14:39:00 +02:00
Tulir Asokan
2ce9947130 Fix double puppet marker in read receipts 2022-01-07 14:38:44 +02:00
Tulir Asokan
18ea5af45e Add support for disappearing messages 2022-01-07 14:32:00 +02:00
Tulir Asokan
a6adf61417 Ignore file length mismatches again 2022-01-05 22:10:10 +02:00
Tulir Asokan
86486419dc Update mautrix-go to fix media convert error 2022-01-04 20:02:21 +02:00
Sumner Evans
a0a1c0fd45
voice messages: bridge from WhatsApp to native Matrix voice messages
Co-authored-by: Tulir Asokan <tulir@maunium.net>
2022-01-04 10:54:22 -07:00
Tulir Asokan
6607269e46 Update mautrix-go to log sync taking too long 2022-01-04 15:22:01 +02:00
Tulir Asokan
6a9d5714c0 Log unsupported message type instead of content. Closes #419 2022-01-04 15:21:55 +02:00
Tulir Asokan
a7deb693ff Revert gjson update 2022-01-03 16:30:04 +02:00
Tulir Asokan
5d7a66631c Update dependencies 2022-01-03 16:15:00 +02:00
Tulir Asokan
e2b0879f16 Add support for multi-contact messages 2022-01-03 16:11:39 +02:00
Tulir Asokan
5ff09b9041 Mention sync command in space example config 2022-01-02 13:31:07 +02:00
Tulir Asokan
3d2fb96580 Update whatsmeow to fix some device list notification handling issues 2021-12-31 10:56:58 +02:00
Tulir Asokan
27303554b5 Fix incorrect check in UpdateBotProfile 2021-12-30 12:33:00 +02:00
Tulir Asokan
8e6640a6f6 Merge remote-tracking branch 'clmnin/fix/cmdSyncHelp' 2021-12-30 12:31:27 +02:00
Tulir Asokan
b63b37177d Make user moderator in personal filtering space 2021-12-30 12:30:29 +02:00
Tulir Asokan
658b37f81f Use upserts on SQLite too 2021-12-30 12:30:29 +02:00
Tulir Asokan
8168d0efff Add check in sync space command and update changelog 2021-12-30 12:30:25 +02:00
Clament
802143c519 fix Sync cmd help: Add space
Update sync command help response string
	to include newly added functionality - space
2021-12-30 10:21:09 +05:30
Tulir Asokan
ba536f17e7 Add command to sync DM rooms into space 2021-12-29 21:40:58 +02:00
Tulir Asokan
7e5c2769c6 Clean up personal filtering space support 2021-12-29 21:40:08 +02:00
Tulir Asokan
3a9b3ab41f Merge remote-tracking branch 'HelderFSFerreira/createSpace' 2021-12-29 20:56:29 +02:00
Tulir Asokan
8b76a792a3 Add full changelog in a file 2021-12-29 17:39:03 +02:00
Helder Ferreira
3ec67ed434
make the bridge homeserver the default on via key space state 2021-12-29 14:25:12 +00:00
Helder Ferreira
dfa845efb4
Fix concurrency issues creating/getting the space 2021-12-29 12:19:16 +00:00
Helder Ferreira
0a8bd7794b
Add persistence
Co-authored-by: clmnin <clament.john.k@gmail.com>
2021-12-29 08:37:57 +00:00
Helder Ferreira
727b11e7ef
add newly created channels to the space
Co-authored-by: clmnin <clament.john.k@gmail.com>
2021-12-29 08:37:41 +00:00
Helder Ferreira
863c375be0
Init space creation
Co-authored-by: clmnin <clament.john.k@gmail.com>
2021-12-29 08:37:24 +00:00
Tulir Asokan
7b5764919a Add some sanity overrides for mime -> extension mapping 2021-12-25 22:40:10 +02:00
Tulir Asokan
ca5fcc42ba Reroute broadcast list messages to correct DM portal. Fixes #411 2021-12-25 20:50:36 +02:00
Tulir Asokan
5e04577081 Update mautrix-go to fix olm session ordering 2021-12-22 23:04:41 +02:00
Sumner Evans
4e3f64aaa2
Merge pull request #410 from mautrix/sumner/bri-1327-update-whatsapp-to-use-unsupported
checkpoints: send UNSUPPORTED for broadcast list unsupported
2021-12-22 10:40:48 -07:00
Sumner Evans
ef24e20902
checkpoints: send UNSUPPORTED for broadcast list unsupported 2021-12-21 13:40:08 -07:00
Tulir Asokan
b2f8a9d32b Update whatsmeow to fix receiving avatar remove events 2021-12-21 19:42:55 +02:00
Tulir Asokan
524ff95e04 Update whatsmeow 2021-12-21 12:07:14 +02:00
Tulir Asokan
949498a1a6 Update mautrix-go to add more logs for olm things 2021-12-17 01:56:51 +02:00
Tulir Asokan
ce2ae44939 Check double puppet indicator value when dropping events 2021-12-17 01:56:07 +02:00
Tulir Asokan
d3fc0ed43f Bump version to v0.2.2 2021-12-16 18:24:57 +02:00
Sumner Evans
cb3a9a381c
Merge pull request #408 from mautrix/double-puppeting-key-for-redactions
double puppeting: add flag to redaction events
2021-12-16 09:21:03 -07:00
Sumner Evans
76530f5774
double puppeting: add flag to redaction events 2021-12-16 09:06:51 -07:00
Sumner Evans
21b0093e57
deps/mautrix: update to master 2021-12-16 09:06:51 -07:00
Tulir Asokan
ee516c1b75 Fix check in set-pl 2021-12-16 16:32:12 +02:00
Tulir Asokan
0d977bc610 Don't send read receipts for fake JIDs 2021-12-16 10:38:12 +02:00
Tulir Asokan
c2520c14db Create portals for incoming undecryptable messages
They might not be actual chat messages, but if we don't create a portal,
the user has no indication that something might have went wrong.
2021-12-16 10:38:12 +02:00
Sumner Evans
3cbe36658f
Merge pull request #407 from mautrix/sumner/bri-1316-use-a-consistent-double-puppeting-key
double puppeting: use fi.mau.double_puppet_source
2021-12-15 08:57:32 -07:00
Tulir Asokan
5e2b54f97e Add constant for double puppet value 2021-12-15 13:51:20 +02:00
Sumner Evans
c15b963748
double puppeting: use fi.mau.double_puppet_source 2021-12-15 02:51:26 -07:00