Commit graph

55 commits

Author SHA1 Message Date
Bohdan Horbeshko 63521b8f90 Extended room disco info 2022-07-08 17:43:56 -04:00
Bohdan Horbeshko 7ef32096af Basic room disco info 2022-07-08 08:43:44 -04:00
Bohdan Horbeshko 63f12202d0 Refactoring: merge handleGetDiscoInfo/handleGetDiscoItems back into one function 2022-07-08 07:54:30 -04:00
Bohdan Horbeshko 6abb7ff9c2 Respond to disco with conference identity and groups list 2022-07-07 20:38:06 -04:00
Bohdan Horbeshko e2edbe37ea gofmt 2022-06-29 20:33:51 -04:00
Bohdan Horbeshko 501c1a7daa Add IMPP to vCard4 2022-06-29 20:29:41 -04:00
Bohdan Horbeshko 5628a15ac4 Update the contact nickname when a chat title has changed 2022-06-29 20:10:39 -04:00
Bohdan Horbeshko 38ffdb9e47 Retrieve Bio / Description for vCard desc / note 2022-06-29 09:56:27 -04:00
Bohdan Horbeshko 76ac662366 Support vCard4 via PubSub 2022-06-28 19:34:14 -04:00
Bohdan Horbeshko 3a43c6223f Fix calculating avatar Base64 2022-06-25 16:58:36 -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 3f96664ef3 Respond correctly to disco queries about account JIDs 2022-06-19 19:56:18 -04:00
Bohdan Horbeshko 70841a2bea Always send XMPP messages with a resource 2022-05-26 07:14:38 -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 72b336a5f5 Support ! prefix for commands in addition to / 2022-02-13 20:45:11 -05:00
Bohdan Horbeshko 6cbfed8245 Make incoming messages to the transport trigger a subscription 2022-02-13 16:36:18 -05:00
Bohdan Horbeshko 2bf4c6666e Fix initializing a TDlib instance after subscribing to the transport 2022-02-13 12:33:43 -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 76364388ad Add disco query responder 2022-02-08 12:09:14 -05:00
Bohdan Horbeshko 4b2969925b Fix status caching and send status on subscription 2022-02-05 05:21:56 -05:00
Bohdan Horbeshko 3cdb625c5e Mark expired online statuses as away 2022-01-31 09:31:05 -05:00
Bohdan Horbeshko f052d633ac Fix concurrent map writes in presence queue 2022-01-29 00:19:33 -05:00
Bohdan Horbeshko 6da0fd56ff Force downloading the chat photo when vCard is requested 2022-01-26 21:09:19 -05:00
Bohdan Horbeshko 9f04ed51bd Make /s replace the whole message; fix replies and whitespace corruption 2022-01-08 05:59:57 -05:00
Bohdan Horbeshko 077edae986 Add keeponline option 2022-01-05 16:04:22 -05:00
Bohdan Horbeshko f4e4692a94 Multiple resources handling 2022-01-02 22:54:13 -05:00
Bohdan Horbeshko f2f20e680b Fix %!(MISSING) and other formatting issues 2021-12-18 11:04:24 -05:00
bodqhrohro fd1fd560bc Try to resume connection and resend a stanza on failure 2020-01-10 15:02:25 +02:00
bodqhrohro b8fcac6ae2 Resend chat statuses on probe presence 2020-01-05 15:03:10 +02:00
bodqhrohro ed8fd6415c Migrate some comments from Zhabogram; change queue behaviour 2019-12-22 03:04:45 +02:00
bodqhrohro 472d4b7bef Make vCard requests asynchronous 2019-12-19 22:58:20 +02:00
bodqhrohro 3918686f21 Connect on probe presence (for clients that do not send online presence first) 2019-12-15 21:30:54 +02:00
bodqhrohro 416c708909 vCard support 2019-12-10 20:34:55 +02:00
bodqhrohro ae2470dcb7 Improve logging of presence sending failures 2019-12-09 02:57:49 +02:00
bodqhrohro 354a4acd19 Fix session restoring 2019-12-04 17:55:15 +02:00
bodqhrohro 9d31a390a8 Send messages to Telegram 2019-12-03 18:48:41 +02:00
bodqhrohro 90f0490e16 Support commands in mapped chats 2019-12-03 02:32:53 +02:00
bodqhrohro dbe87fafa8 Handle updates of user status 2019-11-29 02:51:41 +02:00
bodqhrohro d6f6207ebb Refactoring: move SendPresence to xmpp/gateway package 2019-11-25 00:20:07 +02:00
bodqhrohro 653b1bde94 Telegram authorization 2019-11-24 19:10:29 +02:00
bodqhrohro c0c21a35a4 Handle unsubscribe presence too, improve logging 2019-11-20 23:45:30 +02:00
bodqhrohro f0c0d0ba94 Save sessions on exit 2019-11-19 22:25:14 +02:00
bodqhrohro a09817976e Retry sending presences for recovered sessions 2019-11-18 21:01:45 +02:00
bodqhrohro e4c9267347 Send queued presences, handle presence sending errors 2019-11-16 20:44:13 +02:00
bodqhrohro fc5f8d7a65 Fix logging of ignored packets 2019-11-14 22:11:38 +02:00
bodqhrohro 736abcb5bc Send presence for recovered sessions 2019-11-14 22:11:04 +02:00
bodqhrohro a5c97d68e7 Spawn TDlib instances for recovered sessions 2019-11-12 17:50:25 +02:00
bodqhrohro fbe99c65ec Implementation of Ruby YAML::Store and read/save of the session database 2019-11-11 01:50:50 +02:00