Commit graph

270 commits

Author SHA1 Message Date
Bohdan Horbeshko 1e7e761c6c Reflect name change of Telegram user in all MUCs 2023-10-03 18:56:37 -04:00
Bohdan Horbeshko b8a57c06b6 Handle MUC PM attempts 2023-09-30 06:29:40 -04:00
Bohdan Horbeshko 02578440cd Detect the "Have no write access to the chat" error from Telegram 2023-09-29 16:59:13 -04:00
Bohdan Horbeshko 47fa7bca49 Return outgoing message errors as message error stanzas (only in groupchats yet) 2023-09-29 16:17:25 -04:00
Bohdan Horbeshko a0803123b2 Advertise muc#stable_id feature 2023-09-29 08:32:48 -04:00
Bohdan Horbeshko b70bb53c6d Display outgoing MUC messages 2023-09-29 08:24:15 -04:00
Bohdan Horbeshko 41503c7fd4 Return registration-required instead of not-authorized 2023-09-28 16:30:28 -04:00
Bohdan Horbeshko cdaaa75c96 Send last pinned message as subject on MUC join 2023-09-28 13:14:17 -04:00
Bohdan Horbeshko b68c07025d Add MUC history limit (maxstanzas only) 2023-09-19 07:57:52 -04:00
Bohdan Horbeshko e8bde73164 Original sender JID in MUCs (why?) 2023-09-19 07:31:24 -04:00
Bohdan Horbeshko e77caf2c42 Send recent history on MUC join 2023-09-19 04:23:39 -04:00
Bohdan Horbeshko c1887e5a1e Fix returning MUC join errors 2023-09-18 01:49:31 -04:00
Bohdan Horbeshko 93abbe834e Send real JID for room occupants 2023-09-18 01:17:25 -04:00
Bohdan Horbeshko 6c65ef9988 Send the own MUC member the last with status codes 110/210 according to the spec 2023-09-18 00:47:47 -04:00
Bohdan Horbeshko 4249a8bf41 Suppress nickname presences for MUCs better 2023-09-18 00:02:49 -04:00
Bohdan Horbeshko f99f4f6acc Send memberlist on MUC join, suppress PM statuses for MUC JIDs 2023-09-17 23:21:57 -04:00
Bohdan Horbeshko 776993894a Merge hotfix: remove redundant "registered" identity 2023-09-17 00:54:23 -04:00
Bohdan Horbeshko 9dbd487dae Merge branch 'master' into muc 2023-09-16 23:16:09 -04:00
Bohdan Horbeshko 282a6fc21b Hotfix: prevent lockup on login 2023-08-31 18:24:30 -04:00
Bohdan Horbeshko 4588170d1e Harden the authorizer access to prevent crashes 2023-08-31 17:26:35 -04:00
Bohdan Horbeshko aa561c5be6 Version 1.8.0 2023-08-28 10:20:50 -04:00
Bohdan Horbeshko 20994e2995 In-Band Registration (XEP-0077) 2023-08-28 10:16:57 -04:00
Bohdan Horbeshko 8ba7596ab5 Merge branch 'master' into dev 2023-08-26 08:59:14 -04:00
Bohdan Horbeshko 64515e2c66 Fix replies to messages with non-ASCII characters 2023-08-08 00:54:24 -04:00
Bohdan Horbeshko 9377d7a155 Save/read unavailable presence type in cache 2023-08-06 20:04:49 -04:00
Bohdan Horbeshko c03ccfdfb7 Support urn:xmpp:privilege:2 2023-08-02 17:08:06 -04:00
Bohdan Horbeshko 608f675512 Revert sending carbons for outgoing messages to other resources (they duplicate what clients already send to each other) 2023-08-02 16:41:18 -04:00
Bohdan Horbeshko 3c917c1698 Carbons in group chats 2023-08-02 13:53:34 -04:00
Bohdan Horbeshko 8fc9edd7e7 Prevent messages to a certain resource from being carbon-copied 2023-08-01 20:03:34 -04:00
Iļja Pavļikhin a5f6c60035 Add building in fcking docker environment 2023-08-01 22:36:27 +00:00
Bohdan Horbeshko 131f6eba38 Use previews only instead of TGS stickers 2023-07-31 22:00:58 -04:00
Bohdan Horbeshko a595d9db0a Version 1.7.0 2023-07-31 21:37:05 -04:00
Bohdan Horbeshko ef831fc972 Migrate to TDLib 1.8.14 (multiple usernames support) 2023-07-31 21:25:24 -04:00
Bohdan Horbeshko 748366ad6a Avoid webpage preview updates being sent as message edits (by hash matching) 2023-07-22 10:46:35 -04:00
Bohdan Horbeshko eadef987be Revert "Avoid webpage preview updates being sent as message edits"
This reverts commit 563cb2d624.
2023-07-21 07:45:44 -04:00
Bohdan Horbeshko 563cb2d624 Avoid webpage preview updates being sent as message edits 2023-07-16 08:19:11 -04:00
Bohdan Horbeshko e954c73bd2 Do not ack with edited message to the XEP-0308 sender resource 2023-07-15 21:38:10 -04:00
Bohdan Horbeshko 959dc061ff Send carbons for outgoing messages to other resources 2023-07-08 23:52:30 -04:00
Bohdan Horbeshko 30b3fd1615 Force update nicknames via PubSub and presences on reconnect 2023-06-30 09:54:39 -04:00
Bohdan Horbeshko f8ad8c0204 Update chat title in chats cache 2023-06-30 08:48:36 -04:00
Bohdan Horbeshko 739fc4110a Fix a crash by auth commands when online 2023-06-16 00:44:48 -04:00
Bohdan Horbeshko fdd867cf7a Add /cancelauth command 2023-06-16 00:34:49 -04:00
Bohdan Horbeshko edf2c08a5b Bump Go version to 1.19 2023-06-11 13:53:36 -04:00
Bohdan Horbeshko 00f1417cb2 Version 1.6.0 2023-06-08 13:33:22 -04:00
Bohdan Horbeshko 79fc0ddbe5 Set origin id, if available, to replies bridged from Telegram 2023-06-08 13:27:40 -04:00
Bohdan Horbeshko 945b9c063b Reply own messages 2023-06-08 13:14:55 -04:00
Bohdan Horbeshko 7215d11d79 XEP-0308 message editing 2023-06-05 04:22:13 -04:00
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