Commit graph

1170 commits

Author SHA1 Message Date
Tulir Asokan
e8c77c7ec6 Try to track when the phone is online and warn user if it's offline for too long 2022-01-25 14:26:24 +02:00
Tulir Asokan
aacb1d57df Set portal disappearing message timer from history sync 2022-01-19 16:23:25 +02:00
Tulir Asokan
9e39ce565b Move read receipt handling to portal loop
This ensures that read receipts are only handled after the message
they're pointing at, even if the read receipt is sent immediately
(e.g. when the user has WhatsApp open on their phone).
2022-01-19 14:18:34 +02:00
Tulir Asokan
f151dc4e9e Fix wrong log message 2022-01-19 14:13:06 +02:00
Tulir Asokan
1ebfeedcb7 Send fully read marker too when bridging read receipts to Matrix 2022-01-17 22:56:18 +02:00
Tulir Asokan
cd29b36a07 Send not logged in bridge status before clearing JID 2022-01-17 16:58:19 +02:00
Tulir Asokan
a093b7f157 Remove redundant double-inviting of users 2022-01-17 16:26:26 +02:00
Tulir Asokan
4a49de388c Update mautrix-go to fix state store not being updated in some cases 2022-01-17 15:44:00 +02:00
Tulir Asokan
abdfcdc8a6 Handle incoming Matrix messages as implicit read receipts 2022-01-17 12:00:02 +02:00
Tulir Asokan
3dd30280a1 Fix state store logging errors when power levels aren't cached 2022-01-17 10:45:36 +02:00
Tulir Asokan
c4a7943775 Add logs to debug read receipts 2022-01-17 10:38:44 +02:00
Tulir Asokan
fea25f92ec Bump version to v0.2.3 2022-01-16 20:15:27 +02:00
Tulir Asokan
b3e0d7afbb Reject ghost user invites from non-logged-in users 2022-01-15 13:59:20 +02:00
Tulir Asokan
7d23d87d0a Update CHANGELOG.md 2022-01-10 15:08:46 +02:00
Tulir Asokan
21f675de61 Update whatsmeow to fix app state 2022-01-10 14:03:49 +02:00
Tulir Asokan
d31910ab05 Add provisioning API to sync appstate 2022-01-10 12:31:13 +02:00
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