Commit graph

86 commits

Author SHA1 Message Date
Bohdan Horbeshko
a5c90340ad Refactor ProcessOutgoingMessage 2023-06-03 20:25:00 -04:00
Bohdan Horbeshko
9a84e9a8b6 Store message ids in Badger DB 2023-06-03 00:20:03 -04:00
Bohdan Horbeshko
8663a29e15 Add /vcard command 2023-06-01 16:37:38 -04:00
Bohdan Horbeshko
0a2c4e09d9 Add hideids configuration option 2023-03-18 20:13:00 -04:00
Bohdan Horbeshko
22b46c71ce gofmt 2023-03-18 17:47:08 -04:00
Bohdan Horbeshko
42ed16bf9e Simulate carbons 2023-03-18 17:43:11 -04:00
Bohdan Horbeshko
90807b2d9e Convert XEP-0461 replies to Telegram 2023-03-14 17:16:02 -04:00
Bohdan Horbeshko
b1135b070b Cut fallback quotes out 2023-03-08 07:51:19 -05:00
Bohdan Horbeshko
4a5b83dff5 Show XEP-0461 replies from Telegram 2023-03-05 03:00:53 -05:00
Bohdan Horbeshko
6e32c62f8d Assign IDs from Telegram to XMPP messages 2023-03-03 21:41:45 -05:00
Bohdan Horbeshko
d3c6360e3c Separate labels for OOB messages 2023-01-17 21:57:38 -05:00
Bohdan Horbeshko
559d6443e5 Make OOB compatible with RawMessages 2023-01-16 08:02:41 -05:00
Bohdan Horbeshko
b3b53b6145 OOB 2023-01-15 20:35:13 -05:00
Bohdan Horbeshko
710a88cd7d Update the nickname in existing subscriptions on re-subscription 2022-06-30 17:22:44 -04:00
Bohdan Horbeshko
e2edbe37ea gofmt 2022-06-29 20:33:51 -04:00
Bohdan Horbeshko
38ffdb9e47 Retrieve Bio / Description for vCard desc / note 2022-06-29 09:56:27 -04:00
Bohdan Horbeshko
493c49cde5 Same robust file retrieval for calculating avatar SHA1 and Base64 2022-06-25 16:58:15 -04:00
Bohdan Horbeshko
70841a2bea Always send XMPP messages with a resource 2022-05-26 07:14:38 -04:00
Bohdan Horbeshko
b78779dad0 Re-upload files to Telegram instead of exposing a XEP-0363 link 2022-05-15 12:59:54 -04:00
Bohdan Horbeshko
86cbbcb8bd gofmt 2022-04-01 12:35:54 -04:00
Bohdan Horbeshko
17afd3f8c7 Limit the file storage by an optional quota 2022-03-31 21:42:12 -04:00
Bohdan Horbeshko
5c238db1da Improve logging for file download process 2022-03-19 19:53:20 -04:00
Bohdan Horbeshko
976abf68ce Fetch previews for files 2022-03-14 17:57:03 -04:00
Bohdan Horbeshko
022a12ce31 Add /forward command 2022-03-12 12:25:53 -05:00
Bohdan Horbeshko
f6e62fe1fd Merge adjacent formatting entities of same kind 2022-03-11 11:12:36 -05:00
Bohdan Horbeshko
699d75552a Move downloaded files to a permanent location 2022-03-09 14:15:56 -05:00
Bohdan Horbeshko
72b336a5f5 Support ! prefix for commands in addition to / 2022-02-13 20:45:11 -05:00
Bohdan Horbeshko
915c40f1ee Add an asciiarrows option (for clients that do not support Unicode ones) 2022-02-13 19:05:59 -05:00
Bohdan Horbeshko
e38f3897e6 Fix avatars losing && take care of avatar changes 2022-02-11 20:47:54 -05:00
Bohdan Horbeshko
3618dadd81 Revert "Fix strel ochka"
This reverts commit d48cb8b586.
2022-02-09 11:30:56 -05:00
Bohdan Horbeshko
ec49d5d412 gofmt 2022-02-08 15:25:58 -05:00
Bohdan Horbeshko
0610479734 Attach resource to presences to prevent unwanted behaviour of some clients 2022-02-08 12:43:51 -05:00
Bohdan Horbeshko
32036e3f90 Fix status update for users who blacklisted you or were online long time ago 2022-02-07 11:21:43 -05:00
Bohdan Horbeshko
5a48600b7a The Proper Subscriptions Filter 2022-02-06 08:25:46 -05:00
Bohdan Horbeshko
9d84965e8b Fix replies to non-text messages 2022-02-05 13:54:35 -05:00
Bohdan Horbeshko
7b90b8e4ae Support poll messages 2022-02-05 11:33:53 -05:00
Bohdan Horbeshko
d2f35075e3 Support dice messages 2022-02-05 10:46:24 -05:00
Bohdan Horbeshko
6f4cd5547a Support animated emoji messages 2022-02-05 10:19:18 -05:00
Bohdan Horbeshko
ab1af45247 Support contact messages 2022-02-05 09:49:21 -05:00
Bohdan Horbeshko
00f6e41e71 Support venue messages 2022-02-05 09:10:08 -05:00
Bohdan Horbeshko
4b2969925b Fix status caching and send status on subscription 2022-02-05 05:21:56 -05:00
Bohdan Horbeshko
39d38fb487 Fix links to tiny images 2022-02-04 10:56:34 -05:00
Bohdan Horbeshko
f7e46d5033 Use UniqueId for file URLs 2022-02-04 10:41:55 -05:00
Bohdan Horbeshko
10e5f31b74 Add MessageForwardOriginMessageImport support 2022-02-03 15:25:45 -05:00
Bohdan Horbeshko
9b4830b980 Support passing user ids to commands that accept @usernames 2022-02-02 07:49:05 -05:00
Bohdan Horbeshko
9a49d66279 Add /mute / /unmute commands 2022-01-31 23:57:17 -05:00
Bohdan Horbeshko
2bd15ce6f2 Fix SIGSEGV when a message sender is nil 2022-01-31 19:58:50 -05:00
Bohdan Horbeshko
3cdb625c5e Mark expired online statuses as away 2022-01-31 09:31:05 -05:00
Bohdan Horbeshko
8c20aaa30d Fix links to not-yet-downloaded files 2022-01-31 02:05:42 -05:00
Bohdan Horbeshko
6da0fd56ff Force downloading the chat photo when vCard is requested 2022-01-26 21:09:19 -05:00