Commit graph

36 commits

Author SHA1 Message Date
Bohdan Horbeshko ea004b7f7c Reflect Telegram edits natively by nativeedits option 2024-01-29 04:28:15 -05:00
Bohdan Horbeshko e37c428c67 XEP-0333 read markers for outgoing messages 2024-01-26 21:02:47 -05:00
Bohdan Horbeshko 576acba0d1 Migrate to TDLib 1.8.21 2023-11-11 16:10:23 -05:00
Bohdan Horbeshko 4588170d1e Harden the authorizer access to prevent crashes 2023-08-31 17:26:35 -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 959dc061ff Send carbons for outgoing messages to other resources 2023-07-08 23:52:30 -04:00
Bohdan Horbeshko 18a17cb7a8 Fix crash on login 2023-01-23 02:30:02 -05:00
Bohdan Horbeshko 70841a2bea Always send XMPP messages with a resource 2022-05-26 07:14:38 -04: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 3cdb625c5e Mark expired online statuses as away 2022-01-31 09:31:05 -05:00
Bohdan Horbeshko 540c6cd546 Unhardcode some paths 2022-01-27 01:57:46 -05:00
Bohdan Horbeshko 6eb0e5f15f Migrate back to the upstream go-tdlib 2022-01-17 15:45:40 -05:00
Bohdan Horbeshko f4e4692a94 Multiple resources handling 2022-01-02 22:54:13 -05:00
Bohdan Horbeshko d36f4449c9 Temporarily switch to a fork of go-tdlib 2021-12-28 19:53:38 -05:00
Bohdan Horbeshko 105f5017c3 Migrate to TDlib 1.7.9 2021-12-04 13:10:54 -05:00
bodqhrohro 33e564c62e Remove excessive listener that caused stucking after 1000 updates 2019-12-30 23:26:23 +02:00
bodqhrohro 7ea5e9ac73 Asynchronous message processing with guaranteed sequential per-chat delivery 2019-12-30 07:01:56 +02:00
bodqhrohro 536451f648 Make the chats/users cache thread-safe 2019-12-28 04:35:40 +02:00
bodqhrohro ab914b0ff7 More relogin fixes, prevent crashing by commands when offline 2019-12-19 22:29:36 +02:00
bodqhrohro 10aae376f7 Catch timeout setting 2019-12-16 03:02:53 +02:00
bodqhrohro e43a0c3144 Fix breaking the TDlib data on graceful exit 2019-12-15 04:26:07 +02:00
bodqhrohro 8cd6387552 Make chats/users cache private 2019-12-04 23:47:44 +02:00
bodqhrohro 9c25d4ad8f Handle updates of newmessage 2019-12-01 15:13:45 +02:00
bodqhrohro dbe87fafa8 Handle updates of user status 2019-11-29 02:51:41 +02:00
bodqhrohro bcf222b53d Fetch user info and chats on successful authorization 2019-11-27 00:14:06 +02:00
bodqhrohro a89629ab20 Implement an own authorizer 2019-11-25 21:42:11 +02:00
bodqhrohro 653b1bde94 Telegram authorization 2019-11-24 19:10:29 +02:00
bodqhrohro f0c0d0ba94 Save sessions on exit 2019-11-19 22:25:14 +02:00
bodqhrohro a5c97d68e7 Spawn TDlib instances for recovered sessions 2019-11-12 17:50:25 +02:00
bodqhrohro 55797b98a0 telegram package refactoring 2019-11-05 02:25:15 +02:00
bodqhrohro 0f047c3816 Set logging level for Logrus and TDlib from config 2019-11-05 02:09:07 +02:00
bodqhrohro aaf7233c89 Presence/iq handling and rudimental telegram client 2019-11-04 00:15:43 +02:00